mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2026-10-07 11:31:20 +00:00
Run fish_indent
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# See "Title options" in README.md for configuration options
|
||||
|
||||
function __bobthefish_title_user -S -d 'Display actual user if different from $default_user'
|
||||
if [ "$theme_title_display_user" = 'yes' ]
|
||||
if [ "$theme_title_display_user" = yes ]
|
||||
if [ "$USER" != "$default_user" -o -n "$SSH_CLIENT" ]
|
||||
set -l IFS .
|
||||
uname -n | read -l host __
|
||||
@@ -13,15 +13,15 @@ end
|
||||
function fish_title
|
||||
__bobthefish_title_user
|
||||
|
||||
if [ "$theme_title_display_process" = 'yes' ]
|
||||
if [ "$theme_title_display_process" = yes ]
|
||||
status current-command
|
||||
|
||||
[ "$theme_title_display_path" != 'no' ]
|
||||
[ "$theme_title_display_path" != no ]
|
||||
and echo ' '
|
||||
end
|
||||
|
||||
if [ "$theme_title_display_path" != 'no' ]
|
||||
if [ "$theme_title_use_abbreviated_path" = 'no' ]
|
||||
if [ "$theme_title_display_path" != no ]
|
||||
if [ "$theme_title_use_abbreviated_path" = no ]
|
||||
echo $PWD
|
||||
else
|
||||
prompt_pwd
|
||||
|
||||
Reference in New Issue
Block a user