From d56bfa1c7d9f1b47266c8852fb98d3b805752db5 Mon Sep 17 00:00:00 2001 From: Gregory Pakosz Date: Mon, 18 Jan 2016 15:10:12 +0100 Subject: [PATCH] do not create a subshell in urlview() and fpp() --- .tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 27a8a6f..f70d1bd 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -521,12 +521,12 @@ run 'cut -c3- ~/.tmux.conf | sh -s apply_configuration' # # urlview() { # tmux capture-pane -J -S - -E - -b urlview-$1 -t $1 -# tmux split-window "(tmux show-buffer -b urlview-$1 | urlview || true); tmux delete-buffer -b urlview-$1" +# tmux split-window "tmux show-buffer -b urlview-$1 | urlview || true; tmux delete-buffer -b urlview-$1" # } # # fpp() { # tmux capture-pane -J -S - -E - -b fpp-$1 -t $1 -# tmux split-window "(tmux show-buffer -b fpp-$1 | fpp || true); tmux delete-buffer -b fpp-$1" +# tmux split-window "tmux show-buffer -b fpp-$1 | fpp || true; tmux delete-buffer -b fpp-$1" # } # # $@