1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-26 01:07:11 -07:00

trim Windows-style paths in tmux window names

This commit is contained in:
Connor Olding 2021-09-21 21:38:54 -07:00
parent aafacd2a28
commit 2ca1189470

View File

@ -22,6 +22,10 @@ set -sg escape-time 0
set -g set-titles on
set -g set-titles-string '#{host}: #{pane_title}'
# don't create absurdly long statuses with Windows-style paths
setw -g window-status-format "#I:#{s_.*\\\\|\.exe__:pane_current_command}"
setw -g window-status-current-format "#I:#{s_.*\\\\|\.exe__:pane_current_command}"
# set the default terminal to tmux instead of pretending to be screen.
# NOTE: netbsd-curses requires a terminfo.cdb to be built with tmux support.
# for my own convenience: