Fix fish prompt
parent
feacb171f3
commit
6a731c345e
|
@ -8,7 +8,7 @@ end
|
|||
function fish_cwd_prompt
|
||||
set -l cwd (pwd)
|
||||
test $cwd = $HOME && printf "~" || \
|
||||
normal "%s/%s" (basename (dirname $cwd)) (basename $cwd)
|
||||
printf "%s/%s" (basename (dirname $cwd)) (basename $cwd)
|
||||
end
|
||||
|
||||
function fish_prompt
|
||||
|
|
Loading…
Reference in New Issue