summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2016-03-15 21:21:21 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2016-03-15 21:21:21 +0900
commit6cc9d539783716c8e614364562cce8709be2957f (patch)
treee3e244423d37a86c06e4fce8f63740fd2240c0a4 /bin
parentdf32c058333f1499d6d500f3bd18c3eb4fce525e (diff)
[fzf-tmux] Fix invalid redirection
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fzf-tmux4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/fzf-tmux b/bin/fzf-tmux
index f8fffafc..c1dfe53c 100755
--- a/bin/fzf-tmux
+++ b/bin/fzf-tmux
@@ -143,14 +143,14 @@ if [ -n "$term" -o -t 0 ]; then
tmux set-window-option synchronize-panes off \;\
set-window-option remain-on-exit off \;\
split-window $opt "cd $(printf %q "$PWD");$envs bash $argsf" $swap \
- 2>&1 > /dev/null
+ > /dev/null 2>&1
else
mkfifo $fifo1
cat <<< "$fzf $opts < $fifo1 > $fifo2; echo \$? > $fifo3 $close" > $argsf
tmux set-window-option synchronize-panes off \;\
set-window-option remain-on-exit off \;\
split-window $opt "$envs bash $argsf" $swap \
- 2>&1 > /dev/null
+ > /dev/null 2>&1
cat <&0 > $fifo1 &
fi
cat $fifo2