mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Removed pwd.fish, which made the home directory print out with ~ (annoying)
This commit is contained in:
parent
0ced7d8e56
commit
8ed20f3c28
1 changed files with 0 additions and 18 deletions
|
@ -1,18 +0,0 @@
|
|||
#
|
||||
# Make pwd print out the home directory as a tilde.
|
||||
# Also drop '/private' directories on OS X.
|
||||
#
|
||||
|
||||
switch (uname)
|
||||
|
||||
case Darwin
|
||||
function pwd --description "Print working directory"
|
||||
echo $PWD | sed -e 's|/private||' -e "s|^$HOME|~|"
|
||||
end
|
||||
|
||||
case '*'
|
||||
function pwd --description "Print working directory"
|
||||
echo $PWD | sed -e "s|^$HOME|~|"
|
||||
end
|
||||
|
||||
end
|
Loading…
Reference in a new issue