fish-shell/share/functions/pwd.fish
2006-05-29 23:07:53 +10:00

7 lines
160 B
Fish

#
# Make pwd print out the home directory as a tilde.
#
function pwd -d (N_ "Print working directory")
echo $PWD | sed -e 's|/private||' -e "s|^$HOME|~|"
end