aboutsummaryrefslogtreecommitdiff
path: root/src/usr/share/bash-completion/completions
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-19 19:36:22 +0000
committerB Stack <bgstack15@gmail.com>2020-03-19 19:36:22 +0000
commitb2dedd0c9988e888a53de366c65991d91c20c357 (patch)
tree15aaaec948f6d03fc91a60b54d86ec3dfa57a13e /src/usr/share/bash-completion/completions
parentcleanup (diff)
parentminor fixes (diff)
downloadlogout-manager-b2dedd0c9988e888a53de366c65991d91c20c357.tar.gz
logout-manager-b2dedd0c9988e888a53de366c65991d91c20c357.tar.bz2
logout-manager-b2dedd0c9988e888a53de366c65991d91c20c357.zip
Merge branch 'add-ncurses' into 'master'
add ncurses and cli versions and makefile See merge request bgstack15/logout-manager!1
Diffstat (limited to 'src/usr/share/bash-completion/completions')
-rw-r--r--src/usr/share/bash-completion/completions/logout-manager12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/usr/share/bash-completion/completions/logout-manager b/src/usr/share/bash-completion/completions/logout-manager
new file mode 100644
index 0000000..fd1267f
--- /dev/null
+++ b/src/usr/share/bash-completion/completions/logout-manager
@@ -0,0 +1,12 @@
+# File: /etc/bash_completion.d/logout-manager
+# Reference:
+# bgscripts-core: /usr/bin/bp
+# man complete
+
+_lm_helper() {
+ local cur prev words cword;
+ _init_completion || return
+ COMPREPLY=($( compgen -W "$( ~/dev/logout-manager/src/usr/libexec/logout-manager/lm-helper options )" -- "$cur" ))
+ return 0
+} && \
+complete -F _lm_helper -o bashdefault lm-helper
bgstack15