From c54673924939336636e887cc4c1bd3114a311d1f Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Wed, 31 Jan 2024 11:13:34 +0100 Subject: [PATCH] update lazygit keybind for lf --- .config/lf/lfrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index a1e8b346..5e6480e5 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -28,9 +28,7 @@ cmd trash &{{ }} cmd lazygit ${{ - clear - dir="$(realpath $PWD)" - env PWD=$(realpath $PWD) lazygit + cd "$(dirname "$(realpath "$f")")" && lazygit }} # y (select for copy) and P to paste soft-link