summaryrefslogtreecommitdiffstats
path: root/shell/key-bindings.zsh
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2020-04-01 23:43:35 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2020-04-03 13:23:15 +0900
commit540bfd7a72c050dd2f47fe1f944039d7b416c45e (patch)
tree1c461462e7fa6926c42c1fdb7f9da2ff101f599b /shell/key-bindings.zsh
parent8fbed2b13ab1952eaebc9ebafc916436f818ec4a (diff)
[fzf-tmux] Fall back to plain fzf when split failed
Diffstat (limited to 'shell/key-bindings.zsh')
-rw-r--r--shell/key-bindings.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/key-bindings.zsh b/shell/key-bindings.zsh
index f8cb7821..19608926 100644
--- a/shell/key-bindings.zsh
+++ b/shell/key-bindings.zsh
@@ -54,7 +54,7 @@ __fsel() {
}
__fzfcmd() {
- [ -n "$TMUX_PANE" ] && { [ "${FZF_TMUX:-0}" != 0 ] && [ ${LINES:-40} -gt 15 ] || [ -n "$FZF_TMUX_OPTS" ]; } &&
+ [ -n "$TMUX_PANE" ] && { [ "${FZF_TMUX:-0}" != 0 ] || [ -n "$FZF_TMUX_OPTS" ]; } &&
echo "fzf-tmux ${FZF_TMUX_OPTS:--d${FZF_TMUX_HEIGHT:-40%}} -- " || echo "fzf"
}