-
Notifications
You must be signed in to change notification settings - Fork 227
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
Git Prompt doesn't show after recent changes #196
Comments
For reference, this is the theme config from my
|
I experience this as well, using Fish 3.0.1 installed via Homebrew, Oh My Fish v6, iTerm 2 v3.2.7 on OSX Mojave 10.14.3. |
I also replicate this. |
It seems that problem in this line
|
I have the same problem, was working a bit of time ago but now I not getting much to work. Does anyone have any ideas on what I could take a look at? set -g theme_display_git yes
set -g theme_display_git_dirty no
set -g theme_display_git_untracked no
set -g theme_display_git_ahead_verbose yes
set -g theme_display_git_dirty_verbose yes
set -g theme_display_git_stashed_verbose yes
set -g theme_display_git_master_branch yes
set -g theme_git_worktree_support yes
set -g theme_display_vagrant yes
set -g theme_display_docker_machine yes
set -g theme_display_hg yes
set -g theme_display_virtualenv no
set -g theme_display_ruby yes
set -g theme_display_user no
set -g theme_display_vi no
set -g theme_display_date no
set -g theme_title_display_process yes
set -g theme_title_display_path no
set -g theme_title_display_user no
set -g theme_title_use_abbreviated_path no
set -g theme_date_format "+%a %H:%M"
# set -g theme_avoid_ambiguous_glyphs yes
set -g theme_show_exit_status yes
set -g default_user your_normal_user
# set -g theme_color_scheme terminal-light-black
# set -g theme_color_scheme terminal2-light-black
set -g theme_color_scheme gruvbox
# set -g theme_color_scheme dark
# set -g theme_color_scheme terminal-dark-white
# set -g theme_color_scheme terminal2-dark-white
# set -g theme_color_scheme base16-dark
set -g fish_prompt_pwd_dir_length 0
set -g theme_project_dir_length 1
set -g theme_newline_cursor n
set -g fish_greeting |
Thanks @GermanFilipp I set it to no and it fixed my problem.
Sadly did not fix the problem with ruby version not showing up oh well :( |
@brand-it hmm, what version of omf and theme-bobthefish do you use?
|
This is a fresh install I started yesterday. I will see if updating helps me out. Also, reading through the code might be the answer as well. |
theme-bobthefish/fish_prompt.fish Line 722 in 3b2e847
I confirmed that the fish_prompt is executing the code needed to get the ruby-version. That seems happy. Something else must be stopping it. |
ahh I think I figuring it out. If the global version matches the version it does not display. Which in this case the global version and the ruby version for the application are the same. $ cat /Users/blareau/.rbenv/version
2.6.3
$ cat .ruby-version
2.6.3 This check seems to be my pain point. theme-bobthefish/fish_prompt.fish Line 733 in 3b2e847
Don't know the solution but easy one for me would to just see if the |
this caused the git prompt to disappear in the latest version of the theme bobthefish. ref: oh-my-fish/theme-bobthefish#196
I'm also having the same issue. |
this caused the git prompt to disappear in the latest version of the theme bobthefish. ref: oh-my-fish/theme-bobthefish#196
I used to think this was awesome, but have come around. The option is still there if you want it. Set `theme_use_abbreviated_branch_name` to `yes` :)
After updating the theme my git prompt is gone. After testing different versions it seems to be caused by the commit 5273c92
When installing the "new" version, the prompt is gone:
After locking the theme to an older version (the previous commit), it shows again:
I tried to execute different functions to see if I can pin point this down further without success. So please let me know if there are any commands/functions/vars that could help debug this issue...
I'm running fish version 3.0.2 on Manjaro Linux.
The text was updated successfully, but these errors were encountered: