rc: Properly modify tmux's environment with env

This commit is contained in:
Frank LENORMAND 2017-04-17 22:55:37 +03:00
parent 52ffa98787
commit 9a138af17f

View File

@ -24,7 +24,7 @@ def -hidden -params 1.. tmux-new-impl %{
tmux_args="$1"
shift
if [ $# -ne 0 ]; then kakoune_params="-e '$@'"; fi
TMUX=$tmux tmux $tmux_args "TMPDIR='${TMPDIR}' kak -c ${kak_session} ${kakoune_params}" < /dev/null > /dev/null 2>&1 &
TMUX=$tmux tmux $tmux_args "env TMPDIR='${TMPDIR}' kak -c ${kak_session} ${kakoune_params}" < /dev/null > /dev/null 2>&1 &
}
}