(zsh) add obsidian vault path to fcd in

This commit is contained in:
jc 2024-07-18 14:48:14 -04:00
commit ff20926e79
No known key found for this signature in database

View file

@ -62,6 +62,7 @@ sf() {
fcd() {
local selected_dir=$({
echo "$HOME/.config"
echo "$HOME/Documents/Obsidian Vault"
find "$HOME/ghq" -mindepth 2 -maxdepth 2 -type d
ls -d -1 "$HOME/"/*/ | grep -v \.git
ls -d -1 */ | perl -pe "s#^#$PWD/#" | grep -v \.git