diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-07-19 18:43:33 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-07-19 18:43:33 +0200 |
commit | 839f0b20e8e4982da6a152bd6d702b699d352324 (patch) | |
tree | 900bdac153e23e5c6272a4f762447954397e42ce /completion | |
parent | 5f672bb9f76f0c37563202cfd9ed9755633a7050 (diff) | |
download | ponysay-839f0b20e8e4982da6a152bd6d702b699d352324.tar.gz ponysay-839f0b20e8e4982da6a152bd6d702b699d352324.tar.bz2 ponysay-839f0b20e8e4982da6a152bd6d702b699d352324.zip |
autogeneration of ponythink shell completions from ponysay completions
Diffstat (limited to 'completion')
-rw-r--r-- | completion/fish-completion.fish (renamed from completion/fish_ponysay.fish) | 0 | ||||
-rw-r--r-- | completion/fish_ponythink.fish | 24 |
2 files changed, 0 insertions, 24 deletions
diff --git a/completion/fish_ponysay.fish b/completion/fish-completion.fish index ea98382..ea98382 100644 --- a/completion/fish_ponysay.fish +++ b/completion/fish-completion.fish diff --git a/completion/fish_ponythink.fish b/completion/fish_ponythink.fish deleted file mode 100644 index 24391ce..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 --color=no /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 --color=no ~/.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 - |