Bobthefish不再能正确显示Mercurial(适用于git)

时间:2018-09-12 14:16:11

标签: macos shell mercurial fish omf

我是Mac(macos High Sierra)的新手,刚发现fishOh My Fish,尤其是bobthefish主题。安装完它后,它可以与Mercurial完美配合,但是一次重启后,我已经失去了所有颜色,表示源代码控制状态等...

它仍可与git配合使用(除了演示此问题外,我不使用它!)。

截屏: enter image description here

1 个答案:

答案 0 :(得分:0)

问题原来是~/.config/fish/config.fish文件(下面的内容)。重启后它以某种方式消失了。还原后,我得到了Mercurial版本控制图形。特别注意 设置-g theme_display_hg是

set -g theme_display_git_ahead_verbose yes set -g theme_display_git_dirty_verbose yes set -g theme_display_git_master_branch yes set -g theme_git_worktree_support yes set -g theme_display_hg yes set -g theme_display_user ssh set -g theme_display_hostname ssh set -g theme_display_cmd_duration yes set -g theme_title_display_process yes set -g theme_title_display_user yes set -g theme_title_use_abbreviated_path no set -g theme_date_format "+%Y-%m-%d %H:%M" set -g theme_avoid_ambiguous_glyphs yes set -g theme_show_exit_status yes set -g default_user xxx set -g theme_project_dir_length 1 set -g theme_newline_cursor yes

相关问题