diff --git a/README.md b/README.md index 9116bbd..ce9b824 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,8 @@ set -g theme_display_hg yes set -g theme_display_virtualenv no set -g theme_display_ruby no set -g theme_display_user yes +set -g theme_title_display_process yes +set -g theme_title_display_path no set -g theme_date_format "+%a %H:%M" set -g default_user your_normal_user ``` diff --git a/fish_prompt.fish b/fish_prompt.fish index ec37ca6..ca59475 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -19,6 +19,8 @@ # set -g theme_display_virtualenv no # set -g theme_display_ruby no # set -g theme_display_user yes +# set -g theme_title_display_process yes +# set -g theme_title_display_path no # set -g theme_date_format "+%a %H:%M" # set -g default_user your_normal_user diff --git a/fish_title.fish b/fish_title.fish index 4b2f08e..938c83d 100644 --- a/fish_title.fish +++ b/fish_title.fish @@ -1,4 +1,4 @@ function fish_title - echo $_ ' ' - pwd -end \ No newline at end of file + [ "$theme_title_display_process" = 'yes' ]; and echo $_ ' ' + [ "$theme_title_display_path" != 'no' ]; and pwd +end