mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 05:00:59 +01:00
12 lines
224 B
Text
12 lines
224 B
Text
#compdef -P */X11/*
|
|
|
|
local expl
|
|
|
|
# A simple pattern completion, just as an example.
|
|
|
|
if [ "$words[CURRENT-1]" = "-display" ]; then
|
|
_x_display
|
|
else
|
|
_description expl option
|
|
compadd "$expl[@]" - -display -name -xrm
|
|
fi
|