Run urlview only if available
This commit is contained in:
parent
b5f4f84368
commit
e2abef71ae
@ -132,7 +132,7 @@ bind C-s set-window-option synchronize-panes
|
|||||||
# Present a menu of URLs to open from visible pane
|
# Present a menu of URLs to open from visible pane
|
||||||
bind-key u capture-pane \;\
|
bind-key u capture-pane \;\
|
||||||
save-buffer ~/.tmux/.tmux-buffer \;\
|
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
|
# Create a new session
|
||||||
unbind C-t
|
unbind C-t
|
||||||
|
Loading…
x
Reference in New Issue
Block a user