Обновить 'tmux/local.conf'

This commit is contained in:
Дмитрий Рамазанов 2019-09-19 12:00:36 +00:00
parent 3ffab9c1aa
commit e18b223d6e

View File

@ -313,8 +313,11 @@ set -g @open-S 'https://www.google.com/search?q='
#if-shell 'test -n "$SSH_CLIENT"' \
# 'source-file ~/.dots/tmux/remote.conf'
set-hook -g session-created "if-shell 'test -n \"$SSH_CONNECTION\"' 'set status-position bottom' 'set -u status-position'"
set-hook -g client-attached "if-shell 'test -n \"$SSH_CONNECTION\"' 'set status-position bottom' 'set -u status-position'"
#set-hook -g session-created "if-shell 'test -n \"$SSH_CONNECTION\"' 'set status-position bottom' 'set -u status-position'"
#set-hook -g client-attached "if-shell 'test -n \"$SSH_CONNECTION\"' 'set status-position bottom' 'set -u status-position'"
set-hook -g client-attached 'run ~/.dots/tmux/utils/session-type.sh'
set-hook -g session-created 'run ~/.dots/tmux/utils/session-type.sh'
# We want to have single prefix key "C-a", usable both for local and remote session
# we don't want to "C-a" + "a" approach either