Created
January 8, 2017 15:55
-
-
Save drscream/4ca736cfda44e216d7619b6908a0d1d5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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