mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Allow disabling the title segments.
set -g theme_title_display_process yes set -g theme_title_display_path no See #11
This commit is contained in:
parent
00f5578311
commit
13c35f3424
@ -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
|
||||
```
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
function fish_title
|
||||
echo $_ ' '
|
||||
pwd
|
||||
end
|
||||
[ "$theme_title_display_process" = 'yes' ]; and echo $_ ' '
|
||||
[ "$theme_title_display_path" != 'no' ]; and pwd
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user