Created
August 26, 2019 09:58
-
-
Save antoniocapelo/8fcf5fbc89f0ae2b66e19baf9ea4289b to your computer and use it in GitHub Desktop.
tmux dev session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# place this under /usr/local/bin/tmux-dev | |
if [ -z "$1" ] | |
then | |
echo "No session name supplied" | |
exit 1 | |
fi | |
tmux new-session -d -s $1 | |
tmux rename-window server | |
tmux new-window -n code | |
tmux new-window -n git | |
tmux -2 attach-session -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment