Skip to content

Instantly share code, notes, and snippets.

@m-ueno
Created July 15, 2013 13:29
Show Gist options
  • Save m-ueno/5999944 to your computer and use it in GitHub Desktop.
Save m-ueno/5999944 to your computer and use it in GitHub Desktop.
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