summaryrefslogtreecommitdiff
path: root/completions/xmodmap
diff options
context:
space:
mode:
Diffstat (limited to 'completions/xmodmap')
-rw-r--r--completions/xmodmap8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/xmodmap b/completions/xmodmap
index 38bc6391..7cfa230b 100644
--- a/completions/xmodmap
+++ b/completions/xmodmap
@@ -6,18 +6,18 @@ _xmodmap()
_init_completion || return
case $prev in
- -display|-e)
+ -display | -e)
return
;;
esac
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $(compgen -W '$(_parse_help "$1" -help)' -- "$cur") )
+ if [[ $cur == -* ]]; then
+ COMPREPLY=($(compgen -W '$(_parse_help "$1" -help)' -- "$cur"))
return
fi
_filedir
} &&
-complete -F _xmodmap xmodmap
+ complete -F _xmodmap xmodmap
# ex: filetype=sh