lf fixes
This commit is contained in:
parent
e2eef225fc
commit
5250d43321
|
@ -39,7 +39,7 @@ cmd trash &{{
|
|||
lf -remote "send load"
|
||||
}}
|
||||
|
||||
cmd lazygit ${{
|
||||
cmd lazygit %{{
|
||||
dir=$(dirname "$(realpath "${f:-_}")"})
|
||||
if ! git --noglob-pathspecs -C $dir status >/dev/null 2>&1; then
|
||||
echo "Initialize git repo in '${dir}' [Y/n]:" && read yn &&
|
||||
|
@ -185,7 +185,7 @@ cmd set_previewer %{{
|
|||
cmd new_lf_term &{{
|
||||
mapcmd='map q $sh -c "tmux; kill $id"'
|
||||
previewercmd="set_previewer $(basename "$lf_previewer")"
|
||||
$TERMINAL -e lf -command "${previewercmd}; ${mapcmd}"
|
||||
$TERMINAL -e lfX -command "${previewercmd}; ${mapcmd}"
|
||||
}}
|
||||
|
||||
&{{
|
||||
|
|
Loading…
Reference in New Issue