diff --git a/dot_oh-my-zsh/custom/work.zsh b/dot_oh-my-zsh/custom/work.zsh new file mode 100644 index 0000000..0a45c01 --- /dev/null +++ b/dot_oh-my-zsh/custom/work.zsh @@ -0,0 +1,17 @@ +# Work - Meta-specific aliases and functions +# Auto-loaded by oh-my-zsh from $ZSH_CUSTOM/ + +# ============================================================================ +# On-demand VMs +# ============================================================================ +# Connect to first available ondemand machine via et +svmo() { + et $(ondemand list -q | head -n 2 | tail -n 1 | awk '{print $1}') +} + +# ============================================================================ +# Build & deploy +# ============================================================================ +alias arcb="arc build" +alias arcc="conf canary start" +alias arccc='conf canary cancel --hostname $HOSTNAME'