diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2017-01-08 01:30:31 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2017-01-08 02:09:56 +0900 |
commit | 1448d631a7c72905f62dbb343a8f231a1c3cc52c (patch) | |
tree | 05abfedd2a0777c2640c8259267d3ad855879dfe /bin | |
parent | fd137a9e875ba1fd9feed4903e102951f8098c33 (diff) |
Add --height option
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fzf-tmux | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/fzf-tmux b/bin/fzf-tmux index dd335d2b..f2011998 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -114,6 +114,9 @@ if [[ -z "$TMUX" || "$opt" =~ ^-h && "$columns" -le 40 || ! "$opt" =~ ^-h && "$l exit $? fi +# --height option is not allowed +args+=("--no-height") + # Handle zoomed tmux pane by moving it to a temp window if tmux list-panes -F '#F' | grep -q Z; then zoomed=1 |