Fix fish prompt

keyring
anemofilia 2023-08-06 00:14:42 -03:00
parent feacb171f3
commit 6a731c345e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ end
function fish_cwd_prompt function fish_cwd_prompt
set -l cwd (pwd) set -l cwd (pwd)
test $cwd = $HOME && printf "~" || \ test $cwd = $HOME && printf "~" || \
normal "%s/%s" (basename (dirname $cwd)) (basename $cwd) printf "%s/%s" (basename (dirname $cwd)) (basename $cwd)
end end
function fish_prompt function fish_prompt