mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-29 07:03:54 +00:00
Fix icons for symlinked directories
This commit is contained in:
parent
78ba0b8973
commit
0a7ffcd042
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user