Skip to content

Instantly share code, notes, and snippets.

@logic855
Forked from drscream/dz-bashrc
Created January 16, 2017 10:14
Show Gist options
  • Save logic855/854fdeb1321d34cae1cb6dfd32e53119 to your computer and use it in GitHub Desktop.
Save logic855/854fdeb1321d34cae1cb6dfd32e53119 to your computer and use it in GitHub Desktop.
alias dz-search='dz list -c | grep -i'
alias zlogin='dz shell '
function alogin() {
UUID=$(cat ~/.dz/vms.json | jq -r '.[][] | select(.alias=="'${1}'") | .uuid')
dz shell ${UUID}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment