website (301B) - raw
1 #!/bin/sh 2 3 SESSION=$USER 4 5 # New tmux session 6 tmux -2 new-session -d -s "$SESSION" 7 8 # New window called Hugo running "hugo server" in website folder 9 tmux select-window -t "$SESSION:0" 10 tmux send-keys "firefox http://localhost:8000/ &" C-m 11 tmux send-keys "make -C $HOME/Git/oscarbenedito.com server" C-m