Files
dotfiles/private_dot_local/bin/executable_find_projects.tmpl
2026-05-04 19:33:07 +02:00

7 lines
244 B
Cheetah

# no cache but more accurate than pj (https://github.com/josephschmitt/pj)
FD=$(command -v fdfind || command -v fd)
"$FD" -H -d 7 -t d -E .git -E .gitlab . "{{ .projectdir }}" \
| awk '{ print length, $0 }' \
| sort -n \
| cut -d' ' -f2-