summaryrefslogtreecommitdiffstats
path: root/bash-completion
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2011-06-26 23:32:19 +0200
committerThomas Bächler <thomas@archlinux.org>2011-06-26 23:32:19 +0200
commit6cdc1a6d080ffb6cca413156d66504cc4034fb1b (patch)
treef69256a8412b05476cca588a7acb421de7af5fec /bash-completion
parentc47da29b581acc3e7bd2b1c91eccf7bc6027f941 (diff)
downloadmkinitcpio-6cdc1a6d080ffb6cca413156d66504cc4034fb1b.tar.gz
mkinitcpio-6cdc1a6d080ffb6cca413156d66504cc4034fb1b.tar.xz
emove old '-a' option from bash completion and fix '-s' option.
Diffstat (limited to 'bash-completion')
-rw-r--r--bash-completion4
1 files 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//'));;