sort the session names
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user