Small optimizations and cleanups (#1830)

This commit is contained in:
David Pedersen authored and GitHub committed 2024-11-04 00:25:05 +11:00
1 parent f5a0e655a1
commit 0f48f36b0f
6 files changed
+33 -31

No files matched your search

+1 -3
View File
@@ -105,9 +105,7 @@ func (im *iconMap) parseEnv(env string) {
}
func (im *iconMap) parseArray(arr []string) {
key := arr[0]
key = replaceTilde(key)
key := replaceTilde(arr[0])
if filepath.IsAbs(key) {
key = filepath.Clean(key)