Add work-specific aliases and functions
This commit is contained in:
parent
71947191ae
commit
dc73ebb535
1 changed files with 17 additions and 0 deletions
17
dot_oh-my-zsh/custom/work.zsh
Normal file
17
dot_oh-my-zsh/custom/work.zsh
Normal file
|
|
@ -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'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue