Skip to content

Commit

Permalink
Changed 'C-m' for 'ENTER'
Browse files Browse the repository at this point in the history
  • Loading branch information
vcalderon2009 committed Jun 27, 2018
1 parent 22eb8b9 commit 168ffe5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .tmuxgo
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ tmux split-window -h
tmux select-pane -t 2
tmux resize-pane -L 10
# Sending commands
tmux send -t $SESSION:0.0 "cd $PWD; conda activate $ENVNAME; clear;" ENTER
tmux send -t $SESSION:0.1 "cd $PWD; conda activate $ENVNAME; clear; htop" ENTER
tmux send -t $SESSION:0.2 "cd $PWD; conda activate $ENVNAME; cd ./data; clear" ENTER
tmux send -t $SESSION:0.0 "cd $PWD; conda activate $ENVNAME; clear;" C-m
tmux send -t $SESSION:0.1 "cd $PWD; conda activate $ENVNAME; clear; htop" C-m
tmux send -t $SESSION:0.2 "cd $PWD; conda activate $ENVNAME; cd ./data; clear" C-m
#
# Creating new windows
tmux new-window -t $SESSION:1 -n 'misc'
tmux send -t $SESSION:1.0 "cd $PWD; conda activate $ENVNAME; clear;" ENTER
tmux send -t $SESSION:1.0 "cd $PWD; conda activate $ENVNAME; clear;" C-m
# Creating new windows
tmux new-window -t $SESSION:2 -n 'extras'
tmux send -t $SESSION:2.0 "cd $PWD; conda activate $ENVNAME; clear;" ENTER
tmux send -t $SESSION:2.0 "cd $PWD; conda activate $ENVNAME; clear;" C-m
#
# Selecting which window to start at
tmux select-window -t $SESSION:0
Expand Down

0 comments on commit 168ffe5

Please sign in to comment.