mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
trim Windows-style paths in tmux window names
This commit is contained in:
parent
aafacd2a28
commit
2ca1189470
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue