summaryrefslogtreecommitdiff
path: root/completions/insmod
diff options
context:
space:
mode:
Diffstat (limited to 'completions/insmod')
-rw-r--r--completions/insmod4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/insmod b/completions/insmod
index ec81c93e..36c29dc4 100644
--- a/completions/insmod
+++ b/completions/insmod
@@ -9,8 +9,8 @@ _insmod()
if [[ $cword -eq 1 ]]; then
_filedir '@(?(k)o?(.gz))'
else # do module parameter completion
- COMPREPLY=( $( compgen -W "$( PATH="$PATH:/sbin" modinfo \
- -p ${words[1]} 2>/dev/null | cut -d: -f1 )" -- "$cur" ) )
+ COMPREPLY=( $(compgen -W "$(PATH="$PATH:/sbin" modinfo \
+ -p ${words[1]} 2>/dev/null | cut -d: -f1)" -- "$cur") )
fi
} &&
complete -F _insmod insmod insmod.static