1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-18 01:53:22 -07:00

use / instead of _ for tmux substitute command

this wasn't working on ubuntu 18.04, so i had to change it.
honestly, i'm not entirely convinced that this will fix it.
This commit is contained in:
Connor Olding 2021-10-08 20:38:16 -07:00
parent cdd044cb0b
commit dc777c3c54

View File

@ -23,8 +23,8 @@ 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}"
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.