diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-08-22 16:25:35 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-08-22 16:25:35 +0200 |
commit | f830ba4cf7b21b50406fbccf32535ebda11c2ed9 (patch) | |
tree | 6eca5864efd4737c64ee608f63daed5a4d8e608e /completion/fish-completion.fish | |
parent | a84f1d6534515e3264b6e87d9f13568de98feade (diff) | |
download | ponysay-f830ba4cf7b21b50406fbccf32535ebda11c2ed9.tar.gz ponysay-f830ba4cf7b21b50406fbccf32535ebda11c2ed9.tar.bz2 ponysay-f830ba4cf7b21b50406fbccf32535ebda11c2ed9.zip |
misc
Diffstat (limited to 'completion/fish-completion.fish')
-rw-r--r-- | completion/fish-completion.fish | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/completion/fish-completion.fish b/completion/fish-completion.fish index c211982..c29fff2 100644 --- a/completion/fish-completion.fish +++ b/completion/fish-completion.fish @@ -4,21 +4,26 @@ # Author: Elis Axelsson <etu AT elis DOT nu> set -g ponies ('/usr/bin/ponysay' --onelist) +set -g xponies ('/usr/bin/ponysay' ++onelist) set -g quoters ('/usr/bin/ponysay' --quoters) set -g balloons ('/usr/bin/ponysay' --balloonlist) +## TODO: update with options [see info manual]: +l +L ++list ++altlist ++file --file ++pony complete --command ponysay --short-option h --long-option help --description 'help of ponysay' complete --command ponysay --short-option v --long-option version --description 'version of ponysay' complete --command ponysay --short-option l --long-option list --description 'list pony names' complete --command ponysay --short-option L --long-option altlist --description 'list pony names with alternatives' complete --command ponysay --short-option B --long-option balloonlist --description 'list balloon style names' complete --command ponysay --short-option f --long-option pony --arguments "$ponies" --description 'pony' +complete --command ponysay --short-option F --arguments "$xponies" --description 'extra pony' complete --command ponysay --short-option q --long-option quote --arguments "$quoters" --description 'pony' complete --command ponysay --short-option b --long-option balloon --arguments "$balloons" --description 'balloon style' complete --command ponysay --short-option W --long-option wrap --arguments 'Integer' --description 'specify the column when the message should be wrapped' complete --command ponysay --arguments 'MESSAGE' + set -e ponies +set -e xponies set -e quoters set -e balloons |