feat: added base files
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# service ssh start
|
||||
# Run frontend development server in main tmux.
|
||||
tmux_sessions_list=$(tmux ls 2>&1)
|
||||
tmux_list_output_with_main_string=$(echo "$tmux_sessions_list" | grep 'main')
|
||||
|
||||
if [ "$tmux_list_output_with_main_string" == "" ]; then
|
||||
tmux new-session -d -s main "tmux set -g status off && fish"
|
||||
fi
|
||||
Reference in New Issue
Block a user