mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-27 18:24:57 +00:00
Add some icons for files
This commit is contained in:
parent
0d3023657b
commit
e45fb7a0a7
@ -56,8 +56,10 @@ fn icon(file: &File) -> char {
|
||||
"coffee" => '\u{f0f4}',
|
||||
"conf" => '\u{e615}',
|
||||
"cpp" => '\u{e61d}',
|
||||
"hpp" => '\u{e61d}',
|
||||
"c" => '\u{e61e}',
|
||||
"h" => '\u{e61e}',
|
||||
"cs" => '\u{f81a}',
|
||||
"css" => '\u{e749}',
|
||||
"d" => '\u{e7af}',
|
||||
"dart" => '\u{e798}',
|
||||
@ -65,6 +67,8 @@ fn icon(file: &File) -> char {
|
||||
"diff" => '\u{f440}',
|
||||
"patch" => '\u{f440}',
|
||||
"doc" => '\u{f1c2}',
|
||||
"docx" => '\u{f1c2}',
|
||||
"odt" => '\u{f1c2}',
|
||||
"ebook" => '\u{e28b}',
|
||||
"env" => '\u{f462}',
|
||||
"epub" => '\u{e28a}',
|
||||
@ -78,12 +82,16 @@ fn icon(file: &File) -> char {
|
||||
"iml" => '\u{e7b5}',
|
||||
"java" => '\u{e204}',
|
||||
"js" => '\u{e74e}',
|
||||
"mjs" => '\u{e74e}',
|
||||
"json" => '\u{e60b}',
|
||||
"jsx" => '\u{e7ba}',
|
||||
"vue" => '\u{fd42}',
|
||||
"node" => '\u{f898}',
|
||||
"less" => '\u{e758}',
|
||||
"log" => '\u{f18d}',
|
||||
"lua" => '\u{e620}',
|
||||
"md" => '\u{f48a}',
|
||||
"markdown" => '\u{f48a}',
|
||||
"mustache" => '\u{e60f}',
|
||||
"npmignore" => '\u{e71e}',
|
||||
"pdf" => '\u{f1c1}',
|
||||
@ -105,11 +113,11 @@ fn icon(file: &File) -> char {
|
||||
"styl" => '\u{e600}',
|
||||
"tex" => '\u{e600}',
|
||||
"ts" => '\u{e628}',
|
||||
"tsx" => '\u{e628}',
|
||||
"twig" => '\u{e61c}',
|
||||
"txt" => '\u{f15c}',
|
||||
"video" => '\u{f03d}',
|
||||
"vim" => '\u{e62b}',
|
||||
"xls" => '\u{f1c3}',
|
||||
"xml" => '\u{e619}',
|
||||
"yml" => '\u{f481}',
|
||||
"zip" => '\u{f410}',
|
||||
@ -118,10 +126,11 @@ fn icon(file: &File) -> char {
|
||||
"exe" => '\u{e70f}',
|
||||
"msi" => '\u{e70f}',
|
||||
"dll" => '\u{e70f}',
|
||||
"sh" => '\u{f292}',
|
||||
"bash" => '\u{f292}',
|
||||
"zsh" => '\u{f292}',
|
||||
"fish" => '\u{f292}',
|
||||
"sh" => '\u{e795}',
|
||||
"bash" => '\u{e795}',
|
||||
"zsh" => '\u{e795}',
|
||||
"fish" => '\u{e795}',
|
||||
"csh" => '\u{e795}',
|
||||
"ini" => '\u{e615}',
|
||||
"toml" => '\u{e615}',
|
||||
"apk" => '\u{e70e}',
|
||||
@ -129,6 +138,17 @@ fn icon(file: &File) -> char {
|
||||
"woff" => '\u{f031}',
|
||||
"woff2" => '\u{f031}',
|
||||
"otf" => '\u{f031}',
|
||||
"csv" => '\u{f1c3}',
|
||||
"tsv" => '\u{f1c3}',
|
||||
"xls" => '\u{f1c3}',
|
||||
"xlsx" => '\u{f1c3}',
|
||||
"ods" => '\u{f1c3}',
|
||||
"so" => '\u{f17c}',
|
||||
"sql" => '\u{f1c0}',
|
||||
"jar" => '\u{e256}',
|
||||
"jad" => '\u{e256}',
|
||||
"war" => '\u{e256}',
|
||||
"groovy" => '\u{e775}',
|
||||
_ => '\u{f15b}'
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user