8 lines
189 B
Text
8 lines
189 B
Text
|
#!/bin/bash
|
||
|
|
||
|
SESSION_NAME="$1"
|
||
|
# Attach to tmux session and activate Conda environment
|
||
|
tmux send-keys -t "$SESSION_NAME" "conda activate $SESSION_NAME" C-m
|
||
|
tmux attach -t "$SESSION_NAME"
|
||
|
|