From fac1eeabb3c5cf61579e7b6fbb70f7e3786af972 Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Fri, 4 Jun 2021 08:33:18 +0200 Subject: [PATCH] Add param passing to bA util function --- modules/rhizo_base/templates/rccn-functions.sh.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rhizo_base/templates/rccn-functions.sh.erb b/modules/rhizo_base/templates/rccn-functions.sh.erb index 49dfbbe..9389726 100644 --- a/modules/rhizo_base/templates/rccn-functions.sh.erb +++ b/modules/rhizo_base/templates/rccn-functions.sh.erb @@ -101,7 +101,7 @@ b<%= index %>() { bA() { source /home/rhizomatica/bin/vars.sh tmux start-server - tmux new -s bts -d -n BTS0 "source /etc/profile.d/rccn-functions.sh ; b0" + tmux new -s bts -d -n BTS0 "source /etc/profile.d/rccn-functions.sh ; b0 $*" # This won't look great for more than 4 windows, but # that is not a lot of space anyway. pane=0 @@ -115,7 +115,7 @@ bA() { else split=v fi - tmux split-window -t $pane -$split "source /etc/profile.d/rccn-functions.sh ; b$bts" + tmux split-window -t $pane -$split "source /etc/profile.d/rccn-functions.sh ; b$bts $*" done tmux attach -t bts }