Update paths

Ignore _archive and directories starting with . or ending in .old.
This commit is contained in:
Oliver Davies 2025-03-15 11:15:28 +00:00
parent 867ddbf8a2
commit 5662a4f522

View file

@ -9,7 +9,7 @@ index fa1bec5..4d79e0b 100755
- # If someone wants to make this extensible, i'll accept
- # PR
- selected=$(find ~/ ~/personal ~/personal/dev/env/.config -mindepth 1 -maxdepth 1 -type d | fzf)
+ selected=$(find -L ~/ ~/Code ~/Code/os ~/Documents -mindepth 1 -maxdepth 1 -type d | sort | fzf)
+ selected=$(find -L ~/Code ~/Code/os ~/Documents -maxdepth 1 -type d ! -name ".*" ! -name ".old" ! -name "_archive" | sort | fzf)
fi
if [[ -z $selected ]]; then