summaryrefslogtreecommitdiffstats
path: root/bash-completion/setsid
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion/setsid')
-rw-r--r--bash-completion/setsid17
1 files changed, 17 insertions, 0 deletions
diff --git a/bash-completion/setsid b/bash-completion/setsid
new file mode 100644
index 000000000..dcefc2f05
--- /dev/null
+++ b/bash-completion/setsid
@@ -0,0 +1,17 @@
+_setsid_module()
+{
+ local cur OPTS
+ COMPREPLY=()
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ case $cur in
+ -*)
+ OPTS="-c --ctty -h --help -V --version"
+ COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
+ return 0
+ ;;
+ esac
+ compopt -o bashdefault
+ COMPREPLY=( $(compgen -c -- $cur) )
+ return 0
+}
+complete -F _setsid_module setsid