summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash-completion3
1 files changed, 1 insertions, 2 deletions
diff --git a/bash-completion b/bash-completion
index 50cbb8e..0cf2a96 100644
--- a/bash-completion
+++ b/bash-completion
@@ -13,7 +13,7 @@ _lsinitcpio ()
_mkinitcpio ()
{
- local action="-c -k -s -b -g -a -p -m -S -v -M -L -H -h"
+ local action="-c -k -s -b -g -a -p -S -v -M -L -H -h"
local cur="${COMP_WORDS[COMP_CWORD]}"
local caction="${COMP_WORDS[COMP_CWORD-1]}"
case "$caction" in
@@ -22,7 +22,6 @@ _mkinitcpio ()
-b) COMPREPLY=($(compgen -d "$cur" -- $cur));;
-p) COMPREPLY=($(cd /etc/mkinitcpio.d/ && compgen -X '!*.preset' -f -- $cur|sed 's/\.preset//'));;
-H|-S) COMPREPLY=($(cd /lib/initcpio/install/ && compgen -f -- $cur));;
- -m) COMPREPLY=();;
*) COMPREPLY=($(compgen -W "${action}" -- "$cur"));;
esac
}