From dc73ebb53557072ca167e6a5621612d740af92fe Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Fri, 13 Feb 2026 16:29:55 +0000 Subject: [PATCH] Add work-specific aliases and functions --- dot_oh-my-zsh/custom/work.zsh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 dot_oh-my-zsh/custom/work.zsh 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'