diff options
Diffstat (limited to 'packages/scripts')
-rw-r--r-- | packages/scripts/resources/lib/activate.inc.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/scripts/resources/lib/activate.inc.sh b/packages/scripts/resources/lib/activate.inc.sh index b77b9fd..9ba7d4b 100644 --- a/packages/scripts/resources/lib/activate.inc.sh +++ b/packages/scripts/resources/lib/activate.inc.sh @@ -13,6 +13,11 @@ __activator() { done } +___activator() { + _init_completion -s || return + COMPREPLY=( $(compgen -W "$(ls -1 /opt/activator)" -- $cur) ) +} && complete -F ___activator __activator + # non-interactive activate __activate_env() { for func in $(typeset -F | cut -f 3 -d ' ' | grep -E '^__env_'); do |