Fix icons for symlinked directories
@@ -44,7 +44,7 @@ pub fn painted_icon(file: &File, style: &FileStyle) -> String {
fn icon(file: &File) -> char {
let extensions = Box::new(FileExtensions);
- if file.is_directory() { '\u{f115}' }
+ if file.points_to_directory() { '\u{f115}' }
else if let Some(icon) = extensions.icon_file(file) { icon }
else {
if let Some(ext) = file.ext.as_ref() {
