File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
# Start tmux if available and if we aren't in a tmux/screen session
4
- if [ " ${TERM} " != " screen" ] && command -v tmux > /dev/null 2>&1 ; then
4
+ if [ " ${TERM} " != " screen" ] && [ " $TERM " != " screen-256color " ] && command -v tmux > /dev/null 2>&1 ; then
5
5
tmux attach
6
6
fi
Original file line number Diff line number Diff line change 61
61
'git-untrack-ignored' : 'bin/git-untracked-ignored' ,
62
62
63
63
'gdbinit' : '.gdbinit' ,
64
+
65
+ 'tmux.conf' : '.tmux.conf' ,
64
66
}
65
67
66
68
scriptdir = os .path .dirname (os .path .realpath (__file__ ))
Original file line number Diff line number Diff line change 1
- new-session
1
+ set -g default-terminal " screen-256color "
2
2
unbind C-b
3
- set -g prefix C-a
3
+ set -g prefix C-j
4
+ new-session
5
+
6
+ unbind C-a
7
+ bind C-a select-pane -t :.+
You can’t perform that action at this time.
0 commit comments