diff --git a/conf.d/zim/zshrc b/conf.d/zim/zshrc index 8372c52..948bad6 100644 --- a/conf.d/zim/zshrc +++ b/conf.d/zim/zshrc @@ -129,8 +129,8 @@ bindkey -M vicmd 'j' history-substring-search-down # >>> tmux initialization >>> # if [[ $DISPLAY ]]; then - # If not running interactively, do not do anything - [[ $- != *i* ]] && return + # If not running interactively, do not do anything + [[ $- != *i* ]] && return if [[ -z "$TMUX" ]] ;then ID="$( tmux ls | grep -vm1 attached | cut -d: -f1 )" # get the id of a deattached session diff --git a/conf/tmux.conf b/conf/tmux.conf index ddd7680..d84a401 100644 --- a/conf/tmux.conf +++ b/conf/tmux.conf @@ -11,9 +11,9 @@ set -g default-terminal "screen-256color" # colors! setw -g xterm-keys on -set -sg escape-time 10 # faster command sequences -set -sg repeat-time 600 # increase repeat timeout -set -sg focus-events on +set -g escape-time 10 # faster command sequences +set -g repeat-time 600 # increase repeat timeout +set -g focus-events on set -g prefix2 C-a # GNU-Screen compatible prefix bind C-a send-prefix -2