fixed lf previewer

This commit is contained in:
Sebastian Moser
2025-03-04 20:25:48 +01:00
parent 6a546d9f86
commit 5bf6a5da5e
4 changed files with 122 additions and 243 deletions

View File

@@ -113,9 +113,9 @@
fi
# source lfcd
source ${pkgs.lf.src}/etc/lfcd.sh
alias lf="lfcd"
function lf () {
${config.programs.lf.package}/bin/lf -last-dir-path /tmp/lf-last-path && cd $(cat /tmp/lf-last-path)
}
# so that programms i spawn from my shell don't have so high cpu priority