Respect symlinks when tagging files (#1997)

This commit is contained in:
Joe Lim authored and GitHub committed 2025-05-30 15:15:30 +10:00
1 parent 7507be4d04
commit fe3a97c5d0
3 files changed
+12 -2

No files matched your search

+1 -1
View File
@@ -458,7 +458,7 @@ func (win *win) printDir(ui *ui, dir *dir, context *dirContext, dirStyle *dirSty
}
tag := " "
if val, ok := context.tags[path]; ok && len(val) > 0 {
if val, ok := context.tags[evalSymlinks(path)]; ok && len(val) > 0 {
tag = val
}