This commit is contained in:
Jeff Lance 2021-03-07 11:23:42 +01:00
parent bd496094bc
commit e1220e4010
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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