Add param passing to bA util function
This commit is contained in:
parent
1ffc4a47c7
commit
fac1eeabb3
1 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ b<%= index %>() {
|
||||||
bA() {
|
bA() {
|
||||||
source /home/rhizomatica/bin/vars.sh
|
source /home/rhizomatica/bin/vars.sh
|
||||||
tmux start-server
|
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
|
# This won't look great for more than 4 windows, but
|
||||||
# that is not a lot of space anyway.
|
# that is not a lot of space anyway.
|
||||||
pane=0
|
pane=0
|
||||||
|
@ -115,7 +115,7 @@ bA() {
|
||||||
else
|
else
|
||||||
split=v
|
split=v
|
||||||
fi
|
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
|
done
|
||||||
tmux attach -t bts
|
tmux attach -t bts
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue