add project command

This commit is contained in:
sadan 2025-05-07 20:55:13 -04:00
parent f6ecfdb790
commit c1e593ed6b
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -84,6 +84,7 @@ in
file = ./paste.sh;
})
}/bin/paste";
p = "${builtins.readFile ./projectPicker.sh}";
};
};
}

View file

@ -0,0 +1 @@
cd ~/$(find ~/dev -mindepth 2 -maxdepth 2 -type d | while read f; do (zoxide query --all --list --score $f | grep -P "^\s*?\d+?\.\d+? $f$" || echo "0.0 $f") done | awk '{$1=$1};1' | sort -rg | grep -Po "(?<=\d{0,100}?\.\d{0,100}? ).*" | sed "s#${HOME}/##" | fzf --scheme=path --cycle --filepath-word --height=50% --reverse --border --border-label " Go To Project " --color=label:bold:cyan)