1
0
Fork 0
This commit is contained in:
Luca Bilke 2024-02-05 15:37:19 +01:00
parent e2eef225fc
commit 5250d43321
1 changed files with 2 additions and 2 deletions

View File

@ -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}"
}}
&{{