~sircmpwn/aerc

043a02d99d93441021788891d3f86c6fdeea22f0 — Jeffas 1 year, 7 months ago d2a18e2
Sort path completions
1 files changed, 3 insertions(+), 0 deletions(-)

M commands/util.go
M commands/util.go => commands/util.go +3 -0
@@ 6,6 6,7 @@ import (
	"os"
	"os/exec"
	"path/filepath"
	"sort"
	"strings"
	"time"



@@ 94,6 95,7 @@ func CompletePath(path string) []string {
			}
		}

		sort.Strings(matches)
		return matches
	}



@@ 108,6 110,7 @@ func CompletePath(path string) []string {
		files[i] = f
	}

	sort.Strings(files)
	return files
}