diff options
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/bash_completion.d/logout-manager | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/etc/bash_completion.d/logout-manager b/src/etc/bash_completion.d/logout-manager new file mode 100644 index 0000000..fd1267f --- /dev/null +++ b/src/etc/bash_completion.d/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 |