Fish-completion now supports the new .pony-filename-format

This commit is contained in:
Elis Axelsson 2012-07-21 12:34:35 +02:00
parent 57fdde2f5e
commit 86be6c93ff

View file

@ -13,11 +13,11 @@ end
if test -d $systempath if test -d $systempath
set -g systemponies (ls --color=no $systempath | sed 's/\.pony//') set -g systemponies (ls --color=no $systempath | sed -e 's/\.pony//' -e 's/_.*//' | perl -pe 's/([a-z])([A-Z])/\1\\\ \2/' )
end end
if test -d $homepath if test -d $homepath
set -g homeponies (ls --color=no $homepath | sed 's/\.pony//') set -g homeponies (ls --color=no $systempath | sed -e 's/\.pony//' -e 's/_.*//' | perl -pe 's/([a-z])([A-Z])/\1\\\ \2/' )
end end