diff --git a/share/functions/prompt_pwd.fish b/share/functions/prompt_pwd.fish index e694db9..46b4935 100644 --- a/share/functions/prompt_pwd.fish +++ b/share/functions/prompt_pwd.fish @@ -16,7 +16,7 @@ else case '*' printf "%s" (echo $PWD|sed -e "s|^$HOME|~|" -e 's-/\(\.\{0,1\}[^/]\)\([^/]*\)-/\1-g') - echo $PWD|sed -n -e 's-.*/\.\{0,1}.\([^/]*\)-\1-p' + echo $PWD|sed -n -e 's-.*/\.\{0,1\}.\([^/]*\)-\1-p' end end end