summaryrefslogtreecommitdiff
path: root/media-gfx/scrot/files/scrot.bash-completion
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-25 23:06:25 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-25 23:06:25 +0000
commit441d1370330332b7d78f238d2f5e13f7aed5e4e0 (patch)
tree6a5171dd615dfeee62a45044144c66e864738fb0 /media-gfx/scrot/files/scrot.bash-completion
parentab3da91fb6c91a9df52fff8f991570f456fd3c7a (diff)
gentoo christmass resync : 25.12.2020
Diffstat (limited to 'media-gfx/scrot/files/scrot.bash-completion')
-rw-r--r--media-gfx/scrot/files/scrot.bash-completion40
1 files changed, 0 insertions, 40 deletions
diff --git a/media-gfx/scrot/files/scrot.bash-completion b/media-gfx/scrot/files/scrot.bash-completion
deleted file mode 100644
index d7e5729cd849..000000000000
--- a/media-gfx/scrot/files/scrot.bash-completion
+++ /dev/null
@@ -1,40 +0,0 @@
-# bash-completion script for scrot
-# place this in /etc/bash_completion.d
-
-_scrot() {
- local cur prev opts
- COMPREPLY=()
- cur=${COMP_WORDS[COMP_CWORD]}
- prev=${COMP_WORDS[COMP_CWORD-1]}
- opts="-h --help -v --version -b --border -c --count -d --delay -e --exec \
- -q --quality -m --multidisp -s --select -t --thumb"
-
- if [[ "${cur}" == -* ]] || [[ ${COMP_CWORD} -eq 1 ]]; then
- COMPREPLY=($(compgen -W "${opts}" -- "${cur}"))
- fi
-
- case "${prev}" in
- -e|--exec)
- COMPREPLY=($(compgen -A command -- "${cur}"))
- ;;
- -h|--help)
- COMPREPLY=($(compgen -W "${opts/-h --help}" -- "${cur}"))
- ;;
- -v|--version)
- COMPREPLY=($(compgen -W "${opts/-v --version}" -- "${cur}"))
- ;;
- -b|--border)
- COMPREPLY=($(compgen -W "${opts/-b --border}" -- "${cur}"))
- ;;
- -c|--count)
- COMPREPLY=($(compgen -W "${opts/-c --count}" -- "${cur}"))
- ;;
- -m|--multidisp)
- COMPREPLY=($(compgen -W "${opts/-m --multidisp}" -- "${cur}"))
- ;;
- -s|--select)
- COMPREPLY=($(compgen -W "${opts/-s --select}" -- "${cur}"))
- ;;
- esac
-}
-complete -F _scrot scrot