Created
July 15, 2013 13:29
-
-
Save m-ueno/5999944 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rc_file=~/.dotfiles/openstack.bash_completion | |
_update_ostack_completion() { | |
echo '' > $rc_file | |
for i in $@ ; do | |
echo "install: $i" | |
echo "\n# $i" >> $rc_file | |
curl -L "https://raw.github.com/openstack/python-${i}client/master/tools/${i}.bash_completion" >> $rc_file | |
done | |
} | |
_update_ostack_completion nova neutron keystone | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment