mirror of
https://github.com/notwa/rc
synced 2024-07-01 03:07:13 -07:00
trim Windows-style paths in tmux window names
This commit is contained in:
parent
aafacd2a28
commit
2ca1189470
|
@ -22,6 +22,10 @@ set -sg escape-time 0
|
||||||
set -g set-titles on
|
set -g set-titles on
|
||||||
set -g set-titles-string '#{host}: #{pane_title}'
|
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.
|
# 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.
|
# NOTE: netbsd-curses requires a terminfo.cdb to be built with tmux support.
|
||||||
# for my own convenience:
|
# for my own convenience:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user