diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-13 12:34:21 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-13 12:34:21 +0000 |
commit | 6a87f76a27a25bc5a25dc0fb00eebed7f10788fa (patch) | |
tree | ed921c62eaeee73b01f43dfffe6eda0b5e2ce748 /Completion/User/_xsetroot | |
parent | 8d1b4b1358db02d6c9426e4bb3553583e11bf112 (diff) | |
download | zsh-6a87f76a27a25bc5a25dc0fb00eebed7f10788fa.tar.gz zsh-6a87f76a27a25bc5a25dc0fb00eebed7f10788fa.tar.xz zsh-6a87f76a27a25bc5a25dc0fb00eebed7f10788fa.zip |
Initial revision
Diffstat (limited to 'Completion/User/_xsetroot')
-rw-r--r-- | Completion/User/_xsetroot | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Completion/User/_xsetroot b/Completion/User/_xsetroot new file mode 100644 index 000000000..74a0b6180 --- /dev/null +++ b/Completion/User/_xsetroot @@ -0,0 +1,15 @@ +#compdef xsetroot + +case "$words[CURRENT-1]" in +-cursor) _files -/g '*.(#i)(xbm|curs(|or))'; return;; +-cursor_name) _cursors; return;; +-bitmap) _files -/g '*.(#i)xbm'; return;; +-([fb]g|solid)) _colors; return;; +esac + +if [[ CURRENT -gt 2 && "$words[CURRENT-2]" = -cursor ]]; then + _files -/g '*.(#i)(xbm|curs(|or)|mask)' +else + compadd -M 'm:-=_ r:|_=*' - -help -def -cursor -cursor_name -bitmap -mod -gray -grey \ + -fg -bg -rv -solid -name +fi |