fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerPrepare to not localize private function descriptionsd835c5252

master
338 B9 linesraw
1# localization: skip(deprecated)
2function __fish_pwd --description "Show current path"
3    if status test-feature regex-easyesc
4        string replace -r '^/cygdrive/(.)?' '\U$1:' -- $PWD
5    else
6        # TODO: Remove this once regex-easyesc becomes the default
7        string replace -r '^/cygdrive/(.)?' '\\\U$1:' -- $PWD
8    end
9end