Remove PJ and back to old but accurate fd/awk duo

This commit is contained in:
Yax 2026-04-02 09:38:56 +02:00
parent 8b768597ed
commit d09a3d6f5d
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ bind-key "s" run-shell "sesh connect \"$(
--bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t --icons)' \
--bind 'ctrl-g:change-prompt(⚙️ )+reload(sesh list -c --icons)' \
--bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z --icons)' \
--bind 'ctrl-f:change-prompt(🔎 )+reload(pj)' \
--bind 'ctrl-f:change-prompt(🔎 )+reload(find_projects)' \
--bind 'ctrl-d:execute(tmux kill-session -t {2..})+change-prompt(⚡ )+reload(sesh list --icons)' \
--preview-window 'right:55%' \
--preview 'sesh preview {}'

View file

@ -1,2 +1,2 @@
# fallback to pj (https://github.com/josephschmitt/pj)
# no cache but more accurate than pj (https://github.com/josephschmitt/pj)
fd -H -d 7 -t d -E .git -E .gitlab . "{{ .projectdir }}" | awk '{ print length, $0 }' | sort -n | cut -d' ' -f2-