From 1044049f01e8e507e57fdd98a9f3a307d582f222 Mon Sep 17 00:00:00 2001 From: Luca Bilke <bilke@tralios.de> Date: Thu, 23 May 2024 18:36:47 +0200 Subject: [PATCH] bugfix lf lazygit --- .config/lf/lfrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 51efff33..e780de69 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -44,7 +44,7 @@ cmd trash-restore ${{ trash-cli restore $fileid }} -cmd lazygit %{{ +cmd lazygit ${{ dir=$(dirname "$(realpath "${f:-_}")"}) if git --noglob-pathspecs -C $dir status >/dev/null 2>&1; then lf -remote "send $id \$cd '$dir' && lazygit"