Я пытаюсь просто изменить ключ префиксов на моей установке tmux от C-b
, к C-\
.tmux.conf не читается на Mac, а читается в Linux?
На обоих мой Линукс и Mac OS X компьютеров У меня есть файл с именем .tmux.conf
файл в ~/
Все настройки в файле применяются в моей Linux-системе, однако ни один из них не применяется на моем Mac, и мне интересно, знает ли кто-нибудь, почему это может быть?
Это мой .tmux.conf
:
# Set colors
set-option -g default-terminal "screen-256color"
# Set reload key to r
# bind r source-file ~/.tmux.conf
# Change prefix
unbind-key C-b
set -g prefix 'C-\'
bind-key 'C-\' send-prefix
# Count sessions start at 1
set -g base-index 1
# Set the title bar
set -g set-titles on
set -g set-titles-string '#(whoami) :: #h :: #(curl ipecho.net/plain;echo)'
# Set status bar
set -g status-utf8 on
set -g status-bg black
set -g status-fg white
set -g status-interval 5
set -g status-left-length 90
set -g status-right-length 60
set -g status-left "#[fg=Green]#(whoami)#[fg=white]::#[fg=blue]#(hostname -s)#[fg=white]::#[fg=yellow]#(curl ipecho.net/plain;echo)"
set -g status-justify left
set -g status-right '#[fg=Cyan]#S #[fg=white]%a %d %b %R'