Revision e82a761a
b/snf-webproject/extras/snf_manage_bash_completion | ||
---|---|---|
1 | 1 |
# ######################################################################### |
2 |
# This bash script adds tab-completion feature to django-admin.py and |
|
3 |
# manage.py. |
|
2 |
# This bash script adds tab-completion feature to snf-manage |
|
4 | 3 |
# |
5 | 4 |
# Testing it out without installing |
6 | 5 |
# ================================= |
... | ... | |
8 | 7 |
# To test out the completion without "installing" this, just run this file |
9 | 8 |
# directly, like so: |
10 | 9 |
# |
11 |
# . ~/path/to/synnefo_bash_completion
|
|
10 |
# . ~/path/to/snf_manage_bash_completion
|
|
12 | 11 |
# |
13 | 12 |
# Note: There's a dot ('.') at the beginning of that command. |
14 | 13 |
# |
... | ... | |
20 | 19 |
# |
21 | 20 |
# To install this, point to this file from your .bash_profile, like so: |
22 | 21 |
# |
23 |
# . ~/path/to/synnefo_bash_completion
|
|
22 |
# . ~/path/to/snf_manage_bash_completion
|
|
24 | 23 |
# |
25 | 24 |
# Do the same in your .bashrc if .bashrc doesn't invoke .bash_profile. |
26 | 25 |
# |
Also available in: Unified diff