mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-27 02:12:53 +00:00
Merge pull request #734 from imsofi/master
Fix icons for symlinked directories
This commit is contained in:
commit
9240dbdef3
@ -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() {
|
||||
match ext.as_str() {
|
||||
|
Loading…
Reference in New Issue
Block a user