mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 03:40:01 +08:00
3e115b7a85
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 |