aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2009-02-21 20:47:59 +1000
committerGravatar axel <axel@liljencrantz.se>2009-02-21 20:47:59 +1000
commit5fc42fcaff2a2d945dcdca738f6c6e36e7f1a8ca (patch)
treeb0a69a5f741547dd1ad3a3b645bb5696d3d65c2f /share
parentc1cf6a407199f4ae0b247a3afce1ab09ea043f10 (diff)
prompt_pwd broken, this fix by James Reeves
darcs-hash:20090221104759-ac50b-35f7a896d3e62cd002605d47c090c7bec992317b.gz
Diffstat (limited to 'share')
-rw-r--r--share/functions/prompt_pwd.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/prompt_pwd.fish b/share/functions/prompt_pwd.fish
index e694db93..46b4935a 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