t: sort and reverse directories

This commit is contained in:
Oliver Davies 2024-08-13 09:15:00 +01:00
parent 4b7bae5c97
commit 1d59baa998

View file

@ -56,7 +56,7 @@
! -name "*.old" ! -name "*.old"
) )
selected_path=$(echo "''${items}" | fzf) selected_path=$(echo "''${items}" | sort | fzf --reverse)
fi fi
session_name=$(basename "$selected_path" | sed 's/\./_/g') session_name=$(basename "$selected_path" | sed 's/\./_/g')