Ignore *.old directories

This commit is contained in:
Oliver Davies 2024-12-16 09:39:31 +00:00
parent f6abaa8926
commit ee81a0dbb5

View file

@ -35,7 +35,7 @@ pkgs.writeShellApplication {
if [[ $# -eq 1 ]]; then if [[ $# -eq 1 ]]; then
selected=$1 selected=$1
else else
selected=$(find ~/ ~/Code ~/Code/personal ~/Code/os ~/Documents -mindepth 1 -maxdepth 1 -type d | fzf) selected=$(find ~/ ~/Code ~/Code/personal ~/Code/os ~/Documents -mindepth 1 -maxdepth 1 -type d ! -name "*.old" | fzf)
fi fi
if [[ -z "$selected" ]]; then if [[ -z "$selected" ]]; then