mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 06:25:38 +00:00
switch to proximity fzf project switcher
also sadly must remove the shortcut names because sorting requires full paths
This commit is contained in:
parent
56d2c95c64
commit
95e8d5c268
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user