Browse code

Add bash completion for OSC

use openstackclient to generate bash completion script, and move
the file to the right location.

Change-Id: I96f2230cbba030e235161165d3b173c7af5e28fe

Steve Martinelli authored on 2015/01/21 03:30:33
Showing 1 changed files
... ...
@@ -1312,6 +1312,13 @@ fi
1312 1312
 service_check
1313 1313
 
1314 1314
 
1315
+# Bash completion
1316
+# ===============
1317
+
1318
+# Prepare bash completion for OSC
1319
+openstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion > /dev/null
1320
+
1321
+
1315 1322
 # Fin
1316 1323
 # ===
1317 1324