This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
JJ Asghar
committed
Oct 3, 2013
1 parent
0ffe4db
commit 794be04
Showing
4 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
tmux new-session -s coding -n main -d | ||
tmux send-keys -t coding 'cd ~/scripts/' C-m | ||
tmux send-keys -t coding 'vim' C-m | ||
tmux split-window -v -p 10 -t coding | ||
tmux send-keys -t coding:1.2 'cd ~/scripts' C-m | ||
tmux attach -t coding |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
tmux has-session -t development | ||
if [ $? != 0 ] | ||
then | ||
tmux new-session -s development -n editor -d | ||
tmux send-keys -t development 'cd ~/repo' C-m | ||
tmux send-keys -t development 'vim' C-m | ||
tmux split-window -v -t development | ||
tmux split-window -v -p 10 -t development | ||
tmux select-layout -t development main-horizontal | ||
|
||
tmux new-window -n console -t development | ||
tmux send-keys -t development:2 'cd ~/repo' C-m | ||
fi | ||
tmux attach -t development |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
|
||
tmux new-session -s servers -d "ssh <some server>" | ||
tmux split-window -v "ssh <some server>" | ||
tmux attach -t servers |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
tmux new-session -s writing -n main -d | ||
tmux send-keys -t writing 'cd ~/repo/jjasghar.github.io/source/_posts' C-m | ||
tmux send-keys -t writing 'vim' C-m | ||
tmux split-window -v -p 10 -t writing | ||
tmux send-keys -t writing:1.2 'cd ~/repo/jjasghar.github.io/' C-m | ||
tmux attach -t writing |