summaryrefslogtreecommitdiff
path: root/etc/completions
diff options
context:
space:
mode:
Diffstat (limited to 'etc/completions')
-rw-r--r--etc/completions/_envstore31
-rw-r--r--etc/completions/_fbsetbg24
-rw-r--r--etc/completions/_fbsetroot42
-rw-r--r--etc/completions/_feh83
-rw-r--r--etc/completions/_hm16
-rw-r--r--etc/completions/_lighty-stats40
-rw-r--r--etc/completions/_pkg36
7 files changed, 0 insertions, 272 deletions
diff --git a/etc/completions/_envstore b/etc/completions/_envstore
deleted file mode 100644
index 7df2b3c..0000000
--- a/etc/completions/_envstore
+++ /dev/null
@@ -1,31 +0,0 @@
-#compdef envstore
-## vim:ft=zsh
-## completion for envstore release-3
-## Daniel Friesel <derf@derf.homelinux.org>
-## https://derf.homelinux.org/~derf/dotfiles/zsh/completions/_envstore
-## see also: http://git.cloudconnected.org/?p=envstore.git;a=summary
-
-local arguments_action arguments_save arguments_rm arguments_eval
-
-arguments_action=(
- '1:action:(clear eval rm save show)'
-)
-arguments_save=(
- '2:variable:_parameters -g \*-export'
-)
-arguments_rm=(
- '2:variable:($(envstore eval -e | cut -d " " -f 2 | cut -d "=" -f 1))'
-)
-arguments_eval=(
- '2::option:(-e)'
-)
-
-if [[ $CURRENT -ge 3 ]] {
- case ${words[2]} in
- eval) _arguments -s $arguments_eval ;;
- rm) _arguments -s $arguments_rm ;;
- save) _arguments -s $arguments_save ;;
- esac
-} else {
- _arguments -s $arguments_action
-}
diff --git a/etc/completions/_fbsetbg b/etc/completions/_fbsetbg
deleted file mode 100644
index 6034a36..0000000
--- a/etc/completions/_fbsetbg
+++ /dev/null
@@ -1,24 +0,0 @@
-#compdef fbsetbg
-## completion for fbsetbg (fluxbox 1.0.0+deb1-9), based on fbsetbg(1)
-## Daniel Friesel <derf@derf.homelinux.org>
-## https://derf.homelinux.org/~derf/dotfiles/zsh/completions/_fbsetbg
-
-local arguments
-
-# not yet optimal
-arguments=(
- -{u,U}'[specify wallpapersetter]:wallpapersetter: '
- -{b,B}'[options for fbsetroot]:fbsetrootoptions: '
- - '(exclusive)'
- '-h[show help]'
- '-i[show wallpapersetter information]'
- '-l[set previous wallpaper]'
- '-p[show tips]'
- -{f,F}'[set fullscreen wallpaper]:file:_files'
- -{c,C}'[set centered wallpaper]:file:_files'
- -{t,T}'[set tiled wallpaper]:file:_files'
- -{a,A}'[set maximized wallpaper]:file:_files'
- -{r,R}'[set random wallpaper from directory]:directory:_path_files -/'
-)
-
-_arguments -s $arguments
diff --git a/etc/completions/_fbsetroot b/etc/completions/_fbsetroot
deleted file mode 100644
index 0c8ff4b..0000000
--- a/etc/completions/_fbsetroot
+++ /dev/null
@@ -1,42 +0,0 @@
-#compdef fbsetroot
-## completion for fbsetroot (fluxbox 1.0.0+deb1-9), based on fbsetroot(1)
-## Daniel Friesel <derf@derf.homelinux.org>
-## https://derf.homelinux.org/~derf/dotfiles/zsh/completions/_fbsetroot
-
-local arguments
-local texturestrings colors
-
-texturestrings=(
- Horizontal
- Vertical
- Diagonal
- Crossdiagonal
- Pipecross
- Elliptic
- Rectangle
- Pyramid
-)
-
-colors=(
- white gray black
- green yellow red
- blue cyan purple
-)
-
-arguments=(
- '-display[specify display]:display: '
- - help
- '-help[print help]'
- - solid
- '-solid[set root window to specified color]:color:'"($colors)"
- - gradient
- '-gradient[render texture string]:texturestring:'"($texturestrings)"
- '-from[first grodient color]:color:'"($colors)"
- '-to[second gradient color]:color:'"($colors)"
- - mod
- '-mod[create modula pattern]:x: :y: '
- '-bg[modula background color]:color:'"($colors)"
- '-fg[modula foreground color]:color:'"($colors)"
-)
-
-_arguments -s $arguments
diff --git a/etc/completions/_feh b/etc/completions/_feh
deleted file mode 100644
index 6bb3ed1..0000000
--- a/etc/completions/_feh
+++ /dev/null
@@ -1,83 +0,0 @@
-#compdef feh
-## completion for feh 1.3.4.dfsg.1-1, based on feh(1)
-## Daniel Friesel <derf@derf.homelinux.org>
-
-local arguments feh_themes
-
-feh_themes='cut -d " " -f 1 .fehrc | grep -v "^#" | grep "\w"'
-
-arguments=(
- {-h,--help}'[Show help]'
- {-v,--version}'[Show version information]'
- {-V,--verbose}'[Be verbose]'
- {-q,--quiet}'[Suppress non-fatal errors]'
- {-T+,--theme}'[Load named options from config]:theme:($(eval $feh_themes))'
- '--rcfile[Specify config file]:file:_files'
- {-r,--recursive}'[Recurse into subdirectories]'
- {-z,--randomize}'[Randomize file list before displaying]'
- {-f+,--filelist}'[Read file list from this file]:file:_files'
- {-p,--preload}'[Eliminate unlaodable images before displaying]'
- {-F,--full-screen}'[Make the window fullscreen]'
- {-g+,--geometry}'[Limit window size]:geometry: '
- {-Z,--auto-zoom}'[Zoom picture to screen size]'
- '--zoom[Zoom images]:percent: '
- {-w,--multiwindow}'[Multiple windows, one image per window]'
- {-x,--borderless}'[Borderless windows]'
- {-d,--draw-filename}'[Show filename in images]'
- {-D+,--slideshow-delay}'[Time delay for automatic slidechange]:time: '
- {-R+,--reload}'[Time delay for reloading]:time: '
- {-k,--keep-http}"[Don't delete cached files]"
- {-Q,--builtin}'[Use builtin http client]'
- '--caption-path[Where to look for image captions]:relative directory: '
- {-l,--list}'[List images, their size, etc.]'
- {-L+,--customlist}'[Format list output]:format: '
- {-U,--loadable}'[Print loadable images]'
- {-u,--unloadable}'[Print unloadable images]'
- {-S+,--sort}'[Sort images]:sort type:(name filename width height pixels size format)'
- {-n,--reverse}'[Reverse sort order]'
- {-A,--action}'[Action to perform on each image]:shell: '
- --action{1..9}':shell: '
- {-m,--montage}'[Enable montage mode]'
- {-c,--collage}'[Enable collage mode]'
- {-i,--index}'[Enable index mode]'
- {-I,--fullindex}'[Enable verbose index mode]'
- {-t,--thumbnails}'[Enable interactive index mode]'
- '--bg-tile[Set tiled desktop background]:file:_files'
- '--bg-center[Set centered desktop background]:file:_files'
- '--bg-scale[Set scaled desktop background]:file:_files'
- '--bg-seamless[Set scaled desktop background, preserving aspect]:file:_files'
- {-M,--menu-font}'[Set font in menus]:font: '
- '--menu-style[Style descriptor for menu text]:file:_files'
- '--menu-bg[Background image in menus]:file:_files'
- '--menu-border[Set menu background border]:integer: '
- {-N,--no-menus}"[Don't load or show any menus]"
- {-1,--next-button}'[Button for next image]:button:(1 2 3)'
- {-2,--zoom-button}'[Button to zoom image]:button:(1 2 3)'
- {-3,--pan-button}'[Ctrl+Button to pan image]:button:(1 2 3)'
- '--no-pan-ctrl-mask[Pan without pressing ctrl]'
- {-4,--menu-button}'[Button to activate menu]:button:(1 2 3)'
- {-5,--no-menu-ctrl-mask}'[Show Mune without pressing ctrl]'
- {-6,--rotate-button}'[Ctrl+Button to rotate image]:button:(1 2 3)'
- {-7,--no-rotate-ctrl-mask}'[Rotate without pressing ctrl]'
- {-8,--blur-button}'[Ctrl+Button tu blur image]:button:(1 2 3)'
- {-9,--no-blur-ctrl-mask}'[Blur without pressing ctrl]'
- '--xinerama[Toggle xinerama support]'
- '--screen-clip[Toggle window clipping]'
- '--hide-pointer[Hide mouse pointer in fullscreen mode]'
- {-X,--ignore-aspect}"[montage mode: Don't preserve aspect ratio]"
- {-s,--stretch}'[montage mode: Enlarge images to fit thumbnail size]'
- {-y,--thumb-width}'[montage mode: Thumbnail width]:pixels: '
- {-E,--thumb-height}'[montage mode: Thumbnail height]:pixels: '
- {-W,--limit-width}'[montage mode: Limit montage width]:pixels: '
- {-H,--limit-height}'[montage mode: Limit montage heihgt]:pixels: '
- {-b,--bg}'[montage mode: Background image]:file:_files' #TODO also offer 'trans'
- {-a,--alpha}'[montage mode: Thumbnail transparency level]:integer: '
- '-o[montage mode: Output file]:file:_files'
- "-O[montage mode: Output file, don't display montage]:file:_files"
- {-e,--font}'[index mode: Thumbnail info font]:font: '
- '*--fontpath[index mode: directory to search for fonts]:directory:_path_files -/'
- '--title-font[index mode: title font]:font: '
- '*:file:_files'
-)
-
-_arguments -s $arguments
diff --git a/etc/completions/_hm b/etc/completions/_hm
deleted file mode 100644
index e613f06..0000000
--- a/etc/completions/_hm
+++ /dev/null
@@ -1,16 +0,0 @@
-#compdef hm
-## vim:ft=zsh
-## hm completion
-## Daniel Friesel <derf@derf.homelinux.org>
-## https://derf.homelinux.org/~derf/dotfiles/zsh/completions/_hm
-## see also: https://derf.homelinux.org/~derf/code/h
-
-local arguments
-
-arguments=(
- '(-r)-g[grm instead of hm]'
- '(-g)-r[hrm instead of hm]'
- '-u[use unicode]'
-)
-
-_arguments -s $arguments
diff --git a/etc/completions/_lighty-stats b/etc/completions/_lighty-stats
deleted file mode 100644
index 6c59d6f..0000000
--- a/etc/completions/_lighty-stats
+++ /dev/null
@@ -1,40 +0,0 @@
-#compdef lighty-stats
-## vim:ft=zsh
-## completion for lighty-stats 0.2.2
-## Daniel Friesel <derf@derf.homelinux.org>
-## https://derf.homelinux.org/~derf/dotfiles/zsh/completions/_lighty-stats
-## see also: https://derf.homelinux.org/~derf/code/lighty-stats
-
-local arguments
-
-arguments=(
- '(--no-show-days)--show-days'
- '(--no-show-ips)--show-ips'
- '(--no-show-hosts)--show-hosts'
- '(--no-show-status)--show-status'
- '(--no-show-sites)--show-sites'
- '(--no-show-referers)--show-referers'
- '(--show-days)--no-show-days'
- '(--show-ips)--no-show-ips'
- '(--show-hosts)--no-show-hosts'
- '(--show-status)--no-show-status'
- '(--show-sites)--no-show-sites'
- '(--show-referers)--no-show-referers'
- '(--no-resolve)--resolve'
- '(--resolve)--no-resolve'
-# '*--format:::(title= line_even= line_uneven=)'
- '*--format[Output format]:format: '
- '--bytes[Count in bytes instead of hits]'
- '--count=-[How many items to display]:integer: '
- '--match=-[Only show lines matching this]:regex: '
- '--ignore=-[Ignore lines matching this]:regex: '
- '--truncate-url=-[Trim paths]:integer: '
- '--truncate-referer=-[Trim referer paths]:integer: '
- '--truncate-client-ipv4=-[Trim client IPs]:integer:(8 16 24)'
- '--truncate-client-ipv6=-[Trim client IPs]:integer:(48 64)'
- '--width=-[Display width]:integer: '
- '--log-format=-[logfile format]:format:(lighttpd vsftpd)'
- '*:file:_files'
-)
-
-_arguments -s $arguments
diff --git a/etc/completions/_pkg b/etc/completions/_pkg
deleted file mode 100644
index 8a621a6..0000000
--- a/etc/completions/_pkg
+++ /dev/null
@@ -1,36 +0,0 @@
-#compdef pkg
-## vim:ft=zsh
-## pkg completion
-## Daniel Friesel <derf@derf.homelinux.org>
-## https://derf.homelinux.org/~derf/dotfiles/zsh/completions/_pkg
-## see also: https://derf.homelinux.org/~derf/code/lighty-stats
-
-local arguments_action arguments_list arguments_listall
-local all installed
-
-all='pkg list-all'
-installed='pkg list'
-notinstalled='diff <(eval $installed) <(eval $all) | grep "^>" | cut -d " " -f 2'
-
-arguments_action=(
- '1:action:(add install changelog changeroot check delete remove info list list-all local-update log push remote-update status update upgrade)'
-)
-arguments_list=(
- '2:package:($(eval $installed))'
-)
-arguments_listall=(
- '2:package:($(eval $all))'
-)
-arguments_notinstalled=(
- '2:package:($(eval $notinstalled))'
-)
-
-if [[ $CURRENT -ge 3 ]] {
- case ${words[2]} in
- changelog|check|delete|log|push|remove|status|upgrade) _arguments -s $arguments_list ;;
- info) _arguments -s $arguments_listall ;;
- add|install) _arguments -s $arguments_notinstalled ;;
- esac
-} else {
- _arguments -s $arguments_action
-}