summaryrefslogtreecommitdiff
path: root/completions/grpck
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-10-25 20:18:42 +0300
committerVille Skyttä <ville.skytta@iki.fi>2011-10-25 20:18:42 +0300
commitb377dc5de84913b69efa325590e9d0bb97d02128 (patch)
treea2ba252228eabd2be018fdb8d4f8b1ad225f9825 /completions/grpck
parentc922626d4b9b78d266c8336c702b4c5e9a0325d4 (diff)
parent3b029892f6f9db3b7210a7f66d636be3e5ec5fa2 (diff)
downloadbash-completion-b377dc5de84913b69efa325590e9d0bb97d02128.tar.gz
Merge branch 'dynamic-loading'
Diffstat (limited to 'completions/grpck')
-rw-r--r--completions/grpck23
1 files changed, 23 insertions, 0 deletions
diff --git a/completions/grpck b/completions/grpck
new file mode 100644
index 00000000..6a1c093b
--- /dev/null
+++ b/completions/grpck
@@ -0,0 +1,23 @@
+# grpck(8) completion
+
+_grpck()
+{
+ local cur prev words cword
+ _init_completion || return
+
+ if [[ "$cur" == -* ]]; then
+ COMPREPLY=( $( compgen -W '$( _parse_usage "$1" )' -- "$cur" ) )
+ return 0
+ fi
+
+ _filedir
+} &&
+complete -F _grpck grpck
+
+# Local variables:
+# mode: shell-script
+# sh-basic-offset: 4
+# sh-indent-comment: t
+# indent-tabs-mode: nil
+# End:
+# ex: ts=4 sw=4 et filetype=sh