add left star file name matching to icons

cc #747
This commit is contained in:
Gokcehan 2022-02-05 00:02:50 +03:00
parent 895e22a1b5
commit 26455dca09

View File

@ -113,6 +113,10 @@ func (im iconMap) get(f *file) string {
return val
}
if val, ok := im["*"+f.Name()]; ok {
return val
}
if val, ok := im[filepath.Base(f.Name())+".*"]; ok {
return val
}