summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/glark/files/1.7.2/glark-completion')
-rw-r--r--app-text/glark/files/1.7.2/glark-completion31
1 files changed, 31 insertions, 0 deletions
diff --git a/app-text/glark/files/1.7.2/glark-completion b/app-text/glark/files/1.7.2/glark-completion
new file mode 100644
index 000000000000..4cd470e03705
--- /dev/null
+++ b/app-text/glark/files/1.7.2/glark-completion
@@ -0,0 +1,31 @@
+# Author: Ciaran McCreesh <ciaranm@gentoo.org>
+#
+# completion for glark
+
+_glark()
+{
+ local cur
+
+ 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' -- $cur ) )
+ else
+ _filedir
+ fi
+}
+
+complete -F _glark glark