From e2abef71ae01e3a2c756a9a3ea76a05455edf486 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Thu, 14 Mar 2024 16:38:26 +0100 Subject: [PATCH] Run urlview only if available --- tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux.conf b/tmux.conf index a296ba3..f85eac7 100644 --- a/tmux.conf +++ b/tmux.conf @@ -132,7 +132,7 @@ bind C-s set-window-option synchronize-panes # Present a menu of URLs to open from visible pane bind-key u capture-pane \;\ save-buffer ~/.tmux/.tmux-buffer \;\ - split-window -l 15 "urlview ~/.tmux/.tmux-buffer" + if 'command -v urlview' 'split-window -l 15 "urlview ~/.tmux/.tmux-buffer"' # Create a new session unbind C-t