diff options
author | Elis <elis.axelsson@gmail.com> | 2012-07-19 11:41:45 -0700 |
---|---|---|
committer | Elis <elis.axelsson@gmail.com> | 2012-07-19 11:41:45 -0700 |
commit | 64a2dfa2d4d7279a9aca0eb65dabeb3fad6ee3a0 (patch) | |
tree | 900bdac153e23e5c6272a4f762447954397e42ce /completion/fish_ponythink.fish | |
parent | bae75d95b6ce3af5ac16284a6079ba0feb65cf0b (diff) | |
parent | 839f0b20e8e4982da6a152bd6d702b699d352324 (diff) | |
download | ponysay-64a2dfa2d4d7279a9aca0eb65dabeb3fad6ee3a0.tar.gz ponysay-64a2dfa2d4d7279a9aca0eb65dabeb3fad6ee3a0.tar.bz2 ponysay-64a2dfa2d4d7279a9aca0eb65dabeb3fad6ee3a0.zip |
Merge pull request #2 from erkin/master
get up to date
Diffstat (limited to 'completion/fish_ponythink.fish')
-rw-r--r-- | completion/fish_ponythink.fish | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/completion/fish_ponythink.fish b/completion/fish_ponythink.fish deleted file mode 100644 index 928b72e..0000000 --- a/completion/fish_ponythink.fish +++ /dev/null @@ -1,24 +0,0 @@ - -# Completions for ponysay & ponythink -# https://github.com/erkin/ponysay/ -# -# Author: Elis Axelsson <etu AT elis DOT nu> - - -if test -d /usr/share/ponysay/ponies/ - set -g systemponies (ls /usr/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from \/usr\/share\/ponysay\/ponies\//') -end - -if test -d ~/.local/share/ponysay/ponies/ - set -g homeponies (ls ~/.local/share/ponysay/ponies/ | sed 's/\.pony/\t Pony from ~\/.local\/share\/ponysay\/ponies\//') -end - -complete -c ponythink -s h --description "Help of ponythink" -complete -c ponythink -s v --description "Version of ponythink" -complete -c ponythink -s l --description "List pony files" -complete -c ponythink -s f -a "$systemponies $homeponies" --description "Select a pony, either a filename or pony name" -complete -c ponythink -s W -a "Integer" --description "The screen column where the message should be wrapped" - -set -e systemponies -set -e homeponies - |