Integrate project search into sesh

This commit is contained in:
Yax 2026-01-12 09:47:07 +01:00
parent 207f3c5dfe
commit 8cf81b219a
2 changed files with 2 additions and 1 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(fd -H -d 2 -t d -E .Trash . ~)' \
--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

@ -0,0 +1 @@
fd -H -d 7 -t d -E .git -E .gitlab . "{{ .projectdir }}" | awk '{ print length, $0 }' | sort -n | cut -d' ' -f2-