fix lf new terminal function
This commit is contained in:
parent
05715e781e
commit
823141fdb1
|
@ -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}"
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue