blob: a9c18b0d191f77bd425c549ebaf8bf3832e6c52a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#compdef -p */X11/*
# A simple pattern completion, just as an example.
if [ "$words[CURRENT-1]" = "-display" ]; then
compgen -k hosts -S':0'
else
compadd -J options - -display -name -xrm
fi
|