Skip to content

Instantly share code, notes, and snippets.

@myshov

myshov/startwork.sh

Last active Nov 19, 2019
Embed
What would you like to do?
Start tmux session
tmuxSessionWork="work"
tmux start-server
tmux new-session -d -s $tmuxSessionWork -n vim
tmux new-window -t $tmuxSessionWork:2 -n ssh
tmux selectp -t 1
tmux send-keys "cd projects" C-m
tmux splitw -h -p 50
tmux new-window -t $tmuxSessionWork:3 -n bash
tmux select-window -t $tmuxSessionWork:1
tmux attach-session -t $tmuxSessionWork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment