summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/glark/files/1.7.4/glark-completion')
-rw-r--r--app-text/glark/files/1.7.4/glark-completion33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-text/glark/files/1.7.4/glark-completion b/app-text/glark/files/1.7.4/glark-completion
new file mode 100644
index 000000000000..2a1c596f63dd
--- /dev/null
+++ b/app-text/glark/files/1.7.4/glark-completion
@@ -0,0 +1,33 @@
+# Author: Ciaran McCreesh <ciaranm@gentoo.org>
+#
+# completion for glark
+
+_glark()
+{
+ local cur prev
+
+ COMPREPLY=()
+ cur=${COMP_WORDS[COMP_CWORD]}
+ prev=${COMP_WORDS[COMP_CWORD-1]}
+
+ if [[ "${cur}" == -* ]] || [[ ${COMP_CWORD} -eq 1 ]] ; then
+ COMPREPLY=( $( compgen -W ' --directories --binary-files --basename \
+ --name --fullname --path --exclude-matching --recurse \
+ --split-as-path --no-split-as-path --and --before --after \
+ --file --ignore-case --match-limit --or --range \
+ --invert-match --word --word-regexp --line-regexp --xor \
+ --after-context --before-context --context --count \
+ --file-color --no-filter --grep --no-filename --with-filename \
+ --files-with-matches --files-without-match --line-number \
+ --no-line-number --line-number-color --text-color --highlight \
+ --no-highlight --extract-matches --null --help --config \
+ --explain --quiet --no-messages --no-quiet --version \
+ --verbose --label' -- $cur ) )
+ else
+ _filedir
+ fi
+}
+
+complete -o filenames -F _glark glark
+
+# vim: set ft=sh sw=4 et sts=4 :