|
@@ -3,16 +3,6 @@ if ! (( $+commands[tmux] )); then
|
|
return 1
|
|
return 1
|
|
fi
|
|
fi
|
|
|
|
|
|
-# ALIASES
|
|
|
|
-
|
|
|
|
-alias ta='tmux attach -t'
|
|
|
|
-alias tad='tmux attach -d -t'
|
|
|
|
-alias ts='tmux new-session -s'
|
|
|
|
-alias tl='tmux list-sessions'
|
|
|
|
-alias tksv='tmux kill-server'
|
|
|
|
-alias tkss='tmux kill-session -t'
|
|
|
|
-alias tmuxconf='$EDITOR ~/.tmux.conf'
|
|
|
|
-
|
|
|
|
# CONFIGURATION VARIABLES
|
|
# CONFIGURATION VARIABLES
|
|
# Automatically start tmux
|
|
# Automatically start tmux
|
|
: ${ZSH_TMUX_AUTOSTART:=false}
|
|
: ${ZSH_TMUX_AUTOSTART:=false}
|
|
@@ -40,6 +30,16 @@ alias tmuxconf='$EDITOR ~/.tmux.conf'
|
|
# Set -u option to support unicode
|
|
# Set -u option to support unicode
|
|
: ${ZSH_TMUX_UNICODE:=false}
|
|
: ${ZSH_TMUX_UNICODE:=false}
|
|
|
|
|
|
|
|
+# ALIASES
|
|
|
|
+
|
|
|
|
+alias ta='tmux attach -t'
|
|
|
|
+alias tad='tmux attach -d -t'
|
|
|
|
+alias ts='tmux new-session -s'
|
|
|
|
+alias tl='tmux list-sessions'
|
|
|
|
+alias tksv='tmux kill-server'
|
|
|
|
+alias tkss='tmux kill-session -t'
|
|
|
|
+alias tmuxconf='$EDITOR $ZSH_TMUX_CONFIG'
|
|
|
|
+
|
|
# Determine if the terminal supports 256 colors
|
|
# Determine if the terminal supports 256 colors
|
|
if [[ $terminfo[colors] == 256 ]]; then
|
|
if [[ $terminfo[colors] == 256 ]]; then
|
|
export ZSH_TMUX_TERM=$ZSH_TMUX_FIXTERM_WITH_256COLOR
|
|
export ZSH_TMUX_TERM=$ZSH_TMUX_FIXTERM_WITH_256COLOR
|