Skip to content

Commit 9d537bb

Browse files
committed
Sort directories alphabetically
1 parent 7edf821 commit 9d537bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tmux-sessionizer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ if [[ ! -z $session_cmd ]]; then
318318
elif [[ ! -z $user_selected ]]; then
319319
selected="$user_selected"
320320
else
321-
selected=$(find_dirs | fzf)
321+
LC_COLLATE=C selected=$(find_dirs | sort --dictionary-order | fzf)
322322
fi
323323

324324
if [[ -z $selected ]]; then

0 commit comments

Comments
 (0)