diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-07-21 03:58:43 -0700 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-07-21 03:58:43 -0700 |
commit | 232fd2461ab2d53a22524c2771e7d1d71d57c37f (patch) | |
tree | 08a91b7688b912dbbcb34f47a3fb7a02b2ddd01a /completion | |
parent | ca0fffcd618d23cf00d9ea0959f84323b415085b (diff) | |
parent | 991ab2cf03a895f238d07fb4c112c1200f15c984 (diff) | |
download | ponysay-232fd2461ab2d53a22524c2771e7d1d71d57c37f.tar.gz ponysay-232fd2461ab2d53a22524c2771e7d1d71d57c37f.tar.bz2 ponysay-232fd2461ab2d53a22524c2771e7d1d71d57c37f.zip |
Merge pull request #51 from etu/master
Fixed support for multiple -f that I broke, and made fish-completions support the new .pony-name-format
Diffstat (limited to 'completion')
-rw-r--r-- | completion/fish-completion.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/completion/fish-completion.fish b/completion/fish-completion.fish index 08b42c4..8299564 100644 --- a/completion/fish-completion.fish +++ b/completion/fish-completion.fish @@ -13,11 +13,11 @@ end 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 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 |