Prevent extra CR
This commit is contained in:
@@ -4,7 +4,7 @@ if [[ -f ~/.config/tmux/tmux.conf ]]; then
|
|||||||
if ! grep -q "set -gw automatic-rename on" ~/.config/tmux/tmux.conf; then
|
if ! grep -q "set -gw automatic-rename on" ~/.config/tmux/tmux.conf; then
|
||||||
sed -i '/set -g window-status-separator ""/a\
|
sed -i '/set -g window-status-separator ""/a\
|
||||||
set -gw automatic-rename on\
|
set -gw automatic-rename on\
|
||||||
set -gw automatic-rename-format '\''#{b:pane_current_path}'\'' \
|
set -gw automatic-rename-format '\''#{b:pane_current_path}'\''\
|
||||||
' ~/.config/tmux/tmux.conf
|
' ~/.config/tmux/tmux.conf
|
||||||
omarchy-restart-tmux
|
omarchy-restart-tmux
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user