feat: added base files

This commit is contained in:
root 2024-07-08 14:09:23 +00:00
parent ea94102c9b
commit 2c57a2bc76
2 changed files with 11 additions and 0 deletions

1
README.md Normal file
View File

@ -0,0 +1 @@
# Fish config for development container

View File

@ -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