You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# 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
|
|
|
|
|
|
|
|
function fish_title
|
|
|
|
if [ "$theme_title_display_process" = 'yes' ]
|
|
|
|
echo $_
|
|
|
|
[ "$theme_title_display_path" != 'no' ]; and echo ' '
|
|
|
|
end
|
|
|
|
|
|
|
|
if [ "$theme_title_display_path" != 'no' ]
|
|
|
|
if [ "$theme_title_use_abbreviated_path" = 'no' ]
|
|
|
|
echo $PWD
|
|
|
|
else
|
|
|
|
prompt_pwd
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|