From 1d59baa998b02eaf8260769b979d0c84982e3dee Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 13 Aug 2024 09:15:00 +0100 Subject: [PATCH] t: sort and reverse directories --- lib/shared/scripts/t.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shared/scripts/t.nix b/lib/shared/scripts/t.nix index 4bc048c..5527a82 100644 --- a/lib/shared/scripts/t.nix +++ b/lib/shared/scripts/t.nix @@ -56,7 +56,7 @@ ! -name "*.old" ) - selected_path=$(echo "''${items}" | fzf) + selected_path=$(echo "''${items}" | sort | fzf --reverse) fi session_name=$(basename "$selected_path" | sed 's/\./_/g')