Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unusable shell prompt after installation #541

Closed
thorstenkampe opened this issue Aug 11, 2017 · 10 comments
Closed

Unusable shell prompt after installation #541

thorstenkampe opened this issue Aug 11, 2017 · 10 comments

Comments

@thorstenkampe
Copy link

The oh-my-fish installation sets the default theme after installation which uses the right prompt to display the clock (probably if there is no right prompt defined). This leads to an unusable shell on Windows with ConEmu and on Linux with GNOME Terminal (see fish-shell/fish-shell#4306).

The underlying issue here is, I think, that the oh-my-fish installer should not enable any kind of theme until specifically asked (when a user installs a theme and oh-my-fish enables it, it is fine).
image

@sagebind
Copy link
Member

Looks very similar to #534

@oranja
Copy link
Contributor

oranja commented Aug 22, 2017

It sucks, but these things happen.
Since this is a severe fish bug that can occur in many other configurations - not just with OMF's default theme - I'd rather wait and let it play out.

Unless fish decides to retire all right prompts, or announces that it's going to take a long while to fix, I think default should stay as a theme. Having the theme change immediately when a user just tries fish and omf for the first time is exciting and one of OMF's "marketing" to make the user experiment with other themes and even publishing her own. To this day, seeing the default theme after just setting up fish and omf on a new setup always gives me the warm feeling of arriving home.

With that being said, what do you guys think on adding a PSA to the top of the README that describes the problem and suggests a simple fix? (something that can be done from bash or a file manager)

@sagebind
Copy link
Member

I'd propose we add a "Known issues" piece to the docs and list it there. Even though it is not our issue, it might be the first place users look when they encounter some sort of issue like this.

@oranja oranja mentioned this issue Aug 24, 2017
@sagebind
Copy link
Member

This is not our issue, and we've now added a note in the README concerning this Fish bug.

@gerardbosch
Copy link

Hi there! I think the "Known issues" in the README should be more visible, maybe at the begining. I understand it is not your issue but as a new user of fish/omf, I would like to notice the issue to be aware and also understand how to fix it. Maybe a note on how to fix/workaround it with another theme would be appreciated. Thanks :)

P.S. Does a downgrade of fish would solve the problem?

@gerardbosch
Copy link

gerardbosch commented Aug 3, 2018

From README:

Due to a regression bug in fish 2.6 with some terminal emulators, right prompts make the shell unusable. OMF's default theme features a right prompt, so it's necessary to use an alternative theme until a fix is released. (see #541)

I am using MSYS2 + Cmder on Windows 7 and tried downgrading gradually fish until fish 2.1.2 and did not solved the problem :( Could you please recommend a theme that works? Thx!!

@AnderssonPeter
Copy link

Is this bug still present in the 2.7.1 version of fish, if not please update the Readme file with that information!

@sagebind
Copy link
Member

Unfortunately I don't think anyone on the core team here use Windows so we are unable to test it.

Also,

tried downgrading gradually fish until fish 2.1.2

Oh My Fish supports only Fish 2.2.0 or newer.

@mojotx
Copy link

mojotx commented Nov 27, 2018

I noticed this issue with Linux, but was somehow able to get it to go away. Unfortunately, I don't recall exactly what I did to fix it, though. I think it might have had something to do with font settings.

@Natetronn
Copy link

Natetronn commented Jan 25, 2021

A couple years later but, I ran into this as well on Manjaro. Maybe it will help others.

What I did to fix it was, I uninstalled oh-my-fish and the Tide theme as well. Then I installed oh-my-fish (first this time; instead of the theme first) and finally I installed Tide theme again after installing oh-my-fish. Seems to have addressed the issue and my prompt is in the correct location.

oh-my-fish Version 7
Tide v3.2.0

mdupuis13 added a commit to mdupuis13/dotfilez-dasboss-pc that referenced this issue May 12, 2021
- See oh-my-fish/oh-my-fish#541 for details;
- rebranded theme to make own.. still heavily based on dmorrell
mdupuis13 added a commit to mdupuis13/dotfilez-dasboss-pc that referenced this issue May 12, 2021
- See oh-my-fish/oh-my-fish#541 for details;
- rebranded theme to make own.. still heavily based on dmorrell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants