mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Removed pwd.fish, which made the home directory print out with ~ (annoying)
This commit is contained in:
parent
0ced7d8e56
commit
8ed20f3c28
|
@ -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 New Issue
Block a user