1
0
Fork 0

fix tmux splitting parameter

This commit is contained in:
Andrey Orst 2019-03-06 14:38:11 +03:00
parent c134913150
commit f50d455f36

View file

@ -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'"