Fix shellcheck warnings

This commit is contained in:
Hektor Misplon
2020-11-13 23:22:53 +01:00
parent b9d0500d4a
commit 811363f3a6
3 changed files with 9 additions and 9 deletions

View File

@@ -11,14 +11,14 @@ SESSION=${SESSION:-"tidal"}
TIDAL_BOOT_PATH=${TIDAL_BOOT_PATH:-""}
GHCI=${GHCI:-""}
args=${@:-$FILE}
args=${*:-$FILE}
# attach if session else create
$TMUX attach-session -t $SESSION || $TMUX new-session -s $SESSION \; \
split-window -h -t $SESSION \; \
$TMUX attach-session -t "$SESSION" || $TMUX new-session -s "$SESSION" \; \
split-window -h -t "$SESSION" \; \
send-keys -t 0 "$VIM $args" C-m \; \
send-keys -t 1 "TIDAL_BOOT_PATH=$TIDAL_BOOT_PATH GHCI=$GHCI tidal" C-m \; \
new-window -t $SESSION:2 -n SuperDirt \; \
new-window -t "$SESSION":2 -n SuperDirt \; \
send-keys -t 0 "cadence-session-start -s && sclang ~/dev/live/tidal/superdirt_startup.scd" C-m \; \
select-window -t 1 \; \
resize-pane -t 1 -x 100 \; \