From dc777c3c54a74d0409120f99c1212ea18d522a71 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Fri, 8 Oct 2021 20:38:16 -0700 Subject: [PATCH] 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. --- home/tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/tmux.conf b/home/tmux.conf index 317f767..35f9350 100644 --- a/home/tmux.conf +++ b/home/tmux.conf @@ -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.