mirror of
https://github.com/erkin/ponysay.git
synced 2024-11-25 22:07:58 +01:00
Fish-completion now supports the new .pony-filename-format
This commit is contained in:
parent
57fdde2f5e
commit
86be6c93ff
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue