2015-10-27 18:05:01 +00:00
|
|
|
# You can override some default title options in your config.fish:
|
|
|
|
# set -g theme_title_display_process no
|
|
|
|
# set -g theme_title_display_path no
|
|
|
|
# set -g theme_title_use_abbreviated_path no
|
|
|
|
|
2013-09-18 06:17:15 +00:00
|
|
|
function fish_title
|
2015-10-27 18:05:01 +00:00
|
|
|
if [ "$theme_title_display_process" = 'yes' ]
|
|
|
|
echo $_
|
2016-03-30 06:28:25 +00:00
|
|
|
|
|
|
|
[ "$theme_title_display_path" != 'no' ]
|
|
|
|
and echo ' '
|
2015-10-27 18:05:01 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
if [ "$theme_title_display_path" != 'no' ]
|
|
|
|
if [ "$theme_title_use_abbreviated_path" = 'no' ]
|
|
|
|
echo $PWD
|
|
|
|
else
|
|
|
|
prompt_pwd
|
|
|
|
end
|
|
|
|
end
|
2015-10-13 21:08:06 +00:00
|
|
|
end
|