fix: tmux 窗口名显示当前目录

This commit is contained in:
2019-09-08 17:35:21 +08:00
parent d5a0897879
commit 2577ab6f4a
+5
View File
@@ -32,3 +32,8 @@ bind -r L resizep -R 10 # 绑定Ctrl+l为往→调整面板边缘10个单元格
# 设置tmux的延迟,文档说当有干扰的时候可以设置这个参数,比如影响vim编辑的时候
set -s escape-time 1
# 设置窗口名为当前目录名
set-option -g status-interval 10
set-option -g automatic-rename on
set-option -g automatic-rename-format '#{b:pane_current_path}'