fix lf new terminal function
This commit is contained in:
parent
05715e781e
commit
823141fdb1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
# HACK: This is a dirty hack to have an lf terminal that I can "exit" out of into a shell
|
||||||
cmd new_lf_term &{{
|
cmd new_lf_term &{{
|
||||||
mapcmd='map q $tmux'
|
mapcmd='map q $sh -c "tmux; kill $id"'
|
||||||
previewercmd="set_previewer $(basename "$lf_previewer")"
|
previewercmd="set_previewer $(basename "$lf_previewer")"
|
||||||
$TERMINAL -e lf -command "${previewercmd}; ${mapcmd}"
|
$TERMINAL -e lf -command "${previewercmd}; ${mapcmd}"
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue