Skip to content

Commit

Permalink
prompt_pwd broken, this fix by James Reeves
Browse files Browse the repository at this point in the history
darcs-hash:20090221104759-ac50b-35f7a896d3e62cd002605d47c090c7bec992317b.gz
  • Loading branch information
liljencrantz committed Feb 21, 2009
1 parent c1cf6a4 commit 5fc42fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/functions/prompt_pwd.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5fc42fc

Please sign in to comment.