Actually do version comparison for display-popup

This commit is contained in:
Kenneth Benzie 2025-12-04 16:44:25 +00:00
parent 9bce4090fa
commit c2ff680dd3

View File

@ -66,7 +66,7 @@ bind a run-shell ~/.local/share/tmux/layouts/window-auto
if -b '[ "`uname`" = "Darwin" ]' \
'set -g default-command "reattach-to-user-namespace -l $SHELL"'
if -b '[ "$TMUX_VERSION" > "3.2" ]' {
if -b '[[ "$TMUX_VERSION" > "3.2" ]]' {
# Open a popup with running the default shell
bind T display-popup -S fg=#54546D -b rounded -d '#{pane_current_path}' -E $SHELL
# Open a popup with session creator/switcher