fix tmux splitting parameter
This commit is contained in:
parent
c134913150
commit
f50d455f36
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ fzf -params 2..4 %{ evaluate-commands %sh{
|
|||
chmod 755 $fzfcmd
|
||||
|
||||
if [ -n "$kak_client_env_TMUX" ]; then
|
||||
[ -n "${tmux_height%%*%}" ] && measure="-p" || measure="-p"
|
||||
[ -n "${tmux_height%%*%}" ] && measure="-l" || measure="-p"
|
||||
cmd="command tmux split-window $measure ${tmux_height%%%*} 'sh -c $fzfcmd'"
|
||||
elif [ -n "$kak_opt_termcmd" ]; then
|
||||
cmd="$kak_opt_termcmd 'sh -c $fzfcmd'"
|
||||
|
|
Loading…
Reference in a new issue