1
0
Fork 0

fix lf new terminal function

This commit is contained in:
Luca Bilke 2024-02-01 10:25:26 +01:00
parent 05715e781e
commit 823141fdb1
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ cmd set_previewer %{{
# HACK: This is a dirty hack to have an lf terminal that I can "exit" out of into a shell
cmd new_lf_term &{{
mapcmd='map q $tmux'
mapcmd='map q $sh -c "tmux; kill $id"'
previewercmd="set_previewer $(basename "$lf_previewer")"
$TERMINAL -e lf -command "${previewercmd}; ${mapcmd}"
}}