-
-
Save logic855/854fdeb1321d34cae1cb6dfd32e53119 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