mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-27 02:12:53 +00:00
Update src/output/icons.rs
Co-authored-by: Mélanie Chauvel <perso@hack-libre.org>
This commit is contained in:
parent
c42e0b3945
commit
765fcf64c9
@ -96,10 +96,10 @@ pub fn icon_for_file(file: &File<'_>) -> char {
|
||||
if let Some(icon) = MAP_BY_NAME.get(file.name.as_str()) { *icon }
|
||||
else if file.points_to_directory() {
|
||||
match file.name.as_str() {
|
||||
"bin" => '\u{e5fc}',
|
||||
".git" => '\u{f1d3}',
|
||||
".idea" => '\u{e7b5}',
|
||||
_ => '\u{f115}'
|
||||
"bin" => '\u{e5fc}', //
|
||||
".git" => '\u{f1d3}', //
|
||||
".idea" => '\u{e7b5}', //
|
||||
_ => '\u{f115}' //
|
||||
}
|
||||
}
|
||||
else if let Some(icon) = extensions.icon_file(file) { icon }
|
||||
|
Loading…
Reference in New Issue
Block a user