mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-20 04:57:47 +08:00

I break compatibility with Mac OS X again, that I don't have access to. Result: Stuff break, and I have to fix it, so it will perhaps work. At least, I hope it will work.
10 lines
216 B
Fish
10 lines
216 B
Fish
switch (uname)
|
|
case 'CYGWIN_*'
|
|
function __fish_pwd --description "Show current path"
|
|
pwd | sed -e 's-^/cygdrive/\(.\)/\?-\u\1:/-'
|
|
end
|
|
case '*'
|
|
function __fish_pwd --description "Show current path"
|
|
pwd
|
|
end
|
|
end |