mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 01:17:45 +00:00
9 lines
209 B
Fish
9 lines
209 B
Fish
|
if test (uname -o) = Cygwin
|
||
|
function __fish_pwd --description "Show current path"
|
||
|
pwd | sed -e 's-^/cygdrive/\(.\)/\?-\u\1:/-'
|
||
|
end
|
||
|
else
|
||
|
function __fish_pwd --description "Show current path"
|
||
|
pwd
|
||
|
end
|
||
|
end
|