1
0
Fork 0
mirror of synced 2024-12-22 06:41:07 -05:00

do not create a subshell in urlview() and fpp()

This commit is contained in:
Gregory Pakosz 2016-01-18 15:10:12 +01:00
parent de55dc6e6a
commit d56bfa1c7d

View file

@ -521,12 +521,12 @@ run 'cut -c3- ~/.tmux.conf | sh -s apply_configuration'
# #
# urlview() { # urlview() {
# tmux capture-pane -J -S - -E - -b urlview-$1 -t $1 # 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() { # fpp() {
# tmux capture-pane -J -S - -E - -b fpp-$1 -t $1 # 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"
# } # }
# #
# $@ # $@