sort the session names

This commit is contained in:
Ivar Fatland
2026-01-26 16:30:03 +01:00
parent edd65010c3
commit 9261908277
+2
View File
@@ -5,6 +5,7 @@ import (
"os" "os"
"os/exec" "os/exec"
"path/filepath" "path/filepath"
"slices"
"strings" "strings"
"syscall" "syscall"
@@ -65,6 +66,7 @@ func main() {
for seshName := range config { for seshName := range config {
seshNames = append(seshNames, seshName) seshNames = append(seshNames, seshName)
} }
slices.Sort(seshNames)
i, err := fuzzyfinder.Find( i, err := fuzzyfinder.Find(
seshNames, seshNames,
func(i int) string { func(i int) string {