From f8225a8b4a1cc157a6ed09c3654d4e9a23a3cecb Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 26 Nov 2020 21:32:58 +0200
Subject: [PATCH] Workbench alias.

---
 .bashrc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.bashrc b/.bashrc
index dadafbc..7ae37fe 100644
--- a/.bashrc
+++ b/.bashrc
@@ -145,6 +145,7 @@ alias tfa='terraform apply tfplan'
 alias tfvf='tfv && terraform fmt -diff'
 # shellcheck disable=SC2139
 alias notify="notify --hint \"string:desktop-entry:$(basename "${GIO_LAUNCHED_DESKTOP_FILE:-io.elementary.terminal.desktop}")\""
+alias wb="ssh -t workbench.shore.co.il 'if tmux ls >/dev/null 2>&1; then tmux a; else tmux; fi;'"
 
 tfp () {
     workspace="$(terraform workspace show)"
-- 
GitLab