fzf: update patch bin-fzf-tmux.patch
This commit is contained in:
parent
7dbb56004e
commit
365601ffb1
@ -1,13 +1,13 @@
|
||||
diff -u -r ../fzf-0.11.1/bin/fzf-tmux ./bin/fzf-tmux
|
||||
--- ../fzf-0.11.1/bin/fzf-tmux 2015-11-30 10:39:45.000000000 -0500
|
||||
+++ ./bin/fzf-tmux 2016-01-10 19:11:38.223664557 -0500
|
||||
diff -uNr fzf-0.24.2/bin/fzf-tmux fzf-0.24.2.mod/bin/fzf-tmux
|
||||
--- fzf-0.24.2/bin/fzf-tmux 2020-11-03 16:32:24.000000000 +0200
|
||||
+++ fzf-0.24.2.mod/bin/fzf-tmux 2020-11-09 01:13:40.879724746 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env bash
|
||||
+#!/usr/bin/bash
|
||||
# fzf-tmux: starts fzf in a tmux pane
|
||||
# usage: fzf-tmux [-u|-d [HEIGHT[%]]] [-l|-r [WIDTH[%]]] [--] [FZF OPTIONS]
|
||||
# usage: fzf-tmux [LAYOUT OPTIONS] [--] [FZF OPTIONS]
|
||||
|
||||
@@ -91,10 +91,10 @@
|
||||
@@ -150,10 +150,10 @@
|
||||
|
||||
# Clean up named pipes on exit
|
||||
id=$RANDOM
|
||||
@ -19,6 +19,6 @@ diff -u -r ../fzf-0.11.1/bin/fzf-tmux ./bin/fzf-tmux
|
||||
+fifo1="${TMPDIR:-@TERMUX_PREFIX@/tmp}/fzf-fifo1-$id"
|
||||
+fifo2="${TMPDIR:-@TERMUX_PREFIX@/tmp}/fzf-fifo2-$id"
|
||||
+fifo3="${TMPDIR:-@TERMUX_PREFIX@/tmp}/fzf-fifo3-$id"
|
||||
tmux_win_opts=( $(tmux show-window-options remain-on-exit \; show-window-options synchronize-panes | sed '/ off/d; s/^/set-window-option /; s/$/ \\;/') )
|
||||
cleanup() {
|
||||
rm -f $argsf $fifo1 $fifo2 $fifo3
|
||||
}
|
||||
\rm -f $argsf $fifo1 $fifo2 $fifo3
|
||||
|
Loading…
Reference in New Issue
Block a user