summaryrefslogtreecommitdiff
path: root/completions/kldunload
diff options
context:
space:
mode:
Diffstat (limited to 'completions/kldunload')
-rw-r--r--completions/kldunload6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/kldunload b/completions/kldunload
index e1462677..2e12282c 100644
--- a/completions/kldunload
+++ b/completions/kldunload
@@ -7,9 +7,9 @@ _kldunload()
local cur prev words cword
_init_completion || return
- COMPREPLY=( $(compgen -W '$(kldstat)' -X 'kernel' -X '!*.ko' -- "$cur") )
- COMPREPLY=( ${COMPREPLY[@]%.ko} )
+ COMPREPLY=($(compgen -W '$(kldstat)' -X 'kernel' -X '!*.ko' -- "$cur"))
+ COMPREPLY=(${COMPREPLY[@]%.ko})
} &&
-complete -F _kldunload kldunload
+ complete -F _kldunload kldunload
# ex: filetype=sh