Hide errors for non-existant paths

This commit is contained in:
Oliver Davies 2024-11-27 19:59:30 +00:00
parent 4f93c87bb3
commit d693e16796

View file

@ -20,7 +20,8 @@
-maxdepth 1 -mindepth 1 -type d \ -maxdepth 1 -mindepth 1 -type d \
! -name "_archive" \ ! -name "_archive" \
! -name "*-old" \ ! -name "*-old" \
! -name "*.old" ! -name "*.old" \
2>/dev/null
) )
selected_path=$(echo "''${items}" | sort | fzf) selected_path=$(echo "''${items}" | sort | fzf)