aboutsummaryrefslogtreecommitdiff
path: root/completion
diff options
context:
space:
mode:
authorPablo Lezaeta <prflr88@gmail.com>2012-07-20 19:22:39 -0400
committerPablo Lezaeta <prflr88@gmail.com>2012-07-20 19:22:39 -0400
commit39f97217784e6b2c1f2990e54404268c1216df0d (patch)
treeb6a65e51302731ef5dcaa5f3deb3611150bb2600 /completion
parent8d5e90406f0631cf32ad2184918b1a9eeb409e76 (diff)
parent80739e89dfd526f0220d33831a02c0462b3a375f (diff)
downloadponysay-39f97217784e6b2c1f2990e54404268c1216df0d.tar.gz
ponysay-39f97217784e6b2c1f2990e54404268c1216df0d.tar.bz2
ponysay-39f97217784e6b2c1f2990e54404268c1216df0d.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'completion')
-rw-r--r--completion/fish-completion.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/completion/fish-completion.fish b/completion/fish-completion.fish
index 08b42c4..802cbf2 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 $homepath | sed -e 's/\.pony//' -e 's/_.*//' | perl -pe 's/([a-z])([A-Z])/\1\\\ \2/' )
end