Browse Source

Add invoke tab-completion script to dev .bashrc

This enables tab-completion for the new invoke tasks in the dev version.
So for example, you can type "invoke ty<Tab>" and it will complete to
"type-checking".
merge-requests/126/merge
Deimos 4 years ago
parent
commit
dd00e2e79c
  1. 6
      salt/salt/development.sls

6
salt/salt/development.sls

@ -19,3 +19,9 @@ automatic-activate:
file.append:
- name: '/home/{{ app_username }}/.bashrc'
- text: 'source activate'
# adds invoke's tab-completion script so that invoke tasks can be completed
invoke-tab-completion:
file.append:
- name: '/home/{{ app_username }}/.bashrc'
- text: 'source <(invoke --print-completion-script bash)'
Loading…
Cancel
Save