diff options
author | Elis Axelsson <elis.axelsson@gmail.com> | 2012-08-26 10:15:48 +0200 |
---|---|---|
committer | Elis Axelsson <elis.axelsson@gmail.com> | 2012-08-26 10:15:48 +0200 |
commit | a1987d61229b1640aa02a7d19f6abab7ee680cd8 (patch) | |
tree | a74342be3e7302368d48b7103a1594316b66e5f3 | |
parent | 2fbf0a37ba82a7b53f55a32c8736b798d8b3bfe5 (diff) | |
download | ponysay-a1987d61229b1640aa02a7d19f6abab7ee680cd8.tar.gz ponysay-a1987d61229b1640aa02a7d19f6abab7ee680cd8.tar.bz2 ponysay-a1987d61229b1640aa02a7d19f6abab7ee680cd8.zip |
Cleaned up some completions, was working on the +completions, no success so far... asking around in #fish
-rw-r--r-- | completion/fish-completion.fish | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/completion/fish-completion.fish b/completion/fish-completion.fish index c29fff2..68e013a 100644 --- a/completion/fish-completion.fish +++ b/completion/fish-completion.fish @@ -3,24 +3,24 @@ # # 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 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' +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" --no-files --description 'pony' +complete --command ponysay --short-option b --long-option balloon --arguments "$balloons" --no-files --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 |