From d9ada3be2fa1a87e271704de82969582f2d6dfd7 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 19 Aug 2012 20:14:46 +0200 Subject: bash completion: suggesting long options rather than short options as they are more descriptive (not needed in fish and zsh) and adding --altlist --- completion/bash-completion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completion/bash-completion.sh b/completion/bash-completion.sh index ca6755e..bb575f4 100644 --- a/completion/bash-completion.sh +++ b/completion/bash-completion.sh @@ -5,7 +5,7 @@ _ponysay() local cur prev words cword _init_completion -n = || return - options='-v -h -l -f -W -q' + options='--version --help --list --altlist --pony --wrap --quote' COMPREPLY=( $( compgen -W "$options" -- "$cur" ) ) if [ $prev = "-f" ] || [ $prev = "--pony" ]; then -- cgit