rc: Properly modify tmux
's environment with env
This commit is contained in:
parent
52ffa98787
commit
9a138af17f
|
@ -24,7 +24,7 @@ def -hidden -params 1.. tmux-new-impl %{
|
||||||
tmux_args="$1"
|
tmux_args="$1"
|
||||||
shift
|
shift
|
||||||
if [ $# -ne 0 ]; then kakoune_params="-e '$@'"; fi
|
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 &
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user