From 6cdc1a6d080ffb6cca413156d66504cc4034fb1b Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sun, 26 Jun 2011 23:32:19 +0200 Subject: emove old '-a' option from bash completion and fix '-s' option. --- bash-completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash-completion b/bash-completion index 0cf2a96..889dc41 100644 --- a/bash-completion +++ b/bash-completion @@ -13,11 +13,11 @@ _lsinitcpio () _mkinitcpio () { - local action="-c -k -s -b -g -a -p -S -v -M -L -H -h" + local action="-c -k -s -b -g -p -S -v -M -L -H -h" local cur="${COMP_WORDS[COMP_CWORD]}" local caction="${COMP_WORDS[COMP_CWORD-1]}" case "$caction" in - -c|-g|-s|-a) _filedir;; + -c|-g) _filedir;; -k) COMPREPLY=($(cd /lib/modules && compgen -d -- $cur));; -b) COMPREPLY=($(compgen -d "$cur" -- $cur));; -p) COMPREPLY=($(cd /etc/mkinitcpio.d/ && compgen -X '!*.preset' -f -- $cur|sed 's/\.preset//'));; -- cgit v1.2.3-24-g4f1b