Commit 4db1f71b authored by Justin Hileman's avatar Justin Hileman Committed by Bruno Pinto

[bobthefish] Default hg segment to off

… due to performance concerns.

See #258
See #262
parent 620dbede
......@@ -13,7 +13,7 @@
# You can override some default options in your config.fish:
#
# set -g theme_display_git no
# set -g theme_display_hg no
# set -g theme_display_hg yes
# set -g theme_display_virtualenv no
# set -g theme_display_ruby no
# set -g theme_display_user yes
......@@ -104,7 +104,7 @@ function __bobthefish_git_project_dir -d 'Print the current git project base dir
end
function __bobthefish_hg_project_dir -d 'Print the current hg project base directory'
[ "$theme_display_hg" = 'no' ]; and return
[ "$theme_display_hg" = 'yes' ]; or return
set d (pwd)
while not [ $d = / ]
if [ -e $d/.hg ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment