switch to proximity fzf project switcher

also sadly must remove the shortcut names because sorting requires full paths
This commit is contained in:
Noah Masur 2024-01-14 22:33:29 -05:00
parent 56d2c95c64
commit 95e8d5c268

View File

@ -1,4 +1,4 @@
{ config, ... }: {
{ config, pkgs, ... }: {
# FZF is a fuzzy-finder for the terminal
@ -16,10 +16,9 @@
--search-path $HOME/dev \
--type directory \
--exact-depth 2 \
| ${pkgs.proximity-sort}/bin/proximity-sort . \
| sed 's/\\/$//' \
| fzf \
--delimiter '/' \
--with-nth 6.. \
| fzf --tiebreak=index \
)
and cd $projdir
and commandline -f execute