From 5fc42fcaff2a2d945dcdca738f6c6e36e7f1a8ca Mon Sep 17 00:00:00 2001 From: axel Date: Sat, 21 Feb 2009 20:47:59 +1000 Subject: [PATCH] prompt_pwd broken, this fix by James Reeves darcs-hash:20090221104759-ac50b-35f7a896d3e62cd002605d47c090c7bec992317b.gz --- share/functions/prompt_pwd.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/functions/prompt_pwd.fish b/share/functions/prompt_pwd.fish index e694db93e..46b4935a7 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