mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-12 07:57:22 +00: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
No EOL
216 B
Fish
10 lines
No EOL
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 |