25 lines
503 B
Plaintext
Raw Normal View History

# xmodmap(1) completion -*- shell-script -*-
2010-09-14 21:00:31 +03:00
_xmodmap()
{
local cur prev words cword
_init_completion || return
2010-09-14 21:00:31 +03:00
case $prev in
-display|-e)
return 0
;;
esac
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '-display -help -grammar -verbose -quiet -n
-e -pm -pk -pke -pp' -- "$cur" ) )
return 0
fi
_filedir
} &&
complete -F _xmodmap xmodmap
2010-09-14 21:00:31 +03:00
# ex: ts=4 sw=4 et filetype=sh