mirror of
https://github.com/nushell/nushell.git
synced 2024-12-16 12:12:19 +01:00
add more chars (#701)
* add more chars * group nerdfonts with nf- prefix * labeled unicode weather symbols
This commit is contained in:
parent
3b467bedd9
commit
38e0527083
@ -74,8 +74,18 @@ lazy_static! {
|
|||||||
// Unicode names came from https://www.compart.com/en/unicode
|
// Unicode names came from https://www.compart.com/en/unicode
|
||||||
// Private Use Area (U+E000-U+F8FF)
|
// Private Use Area (U+E000-U+F8FF)
|
||||||
// Unicode can't be mixed with Ansi or it will break width calculation
|
// Unicode can't be mixed with Ansi or it will break width calculation
|
||||||
"branch" => '\u{e0a0}'.to_string(), //
|
"nf-branch" => '\u{e0a0}'.to_string(), //
|
||||||
"segment" => '\u{e0b0}'.to_string(), //
|
"nf-segment" => '\u{e0b0}'.to_string(), //
|
||||||
|
"nf-left-segment" => '\u{e0b0}'.to_string(), //
|
||||||
|
"nf-left-segment-thin" => '\u{e0b1}'.to_string(), //
|
||||||
|
"nf-right-segment" => '\u{e0b2}'.to_string(), //
|
||||||
|
"nf-right-segment-thin" => '\u{e0b3}'.to_string(), //
|
||||||
|
"nf-git" => '\u{f1d3}'.to_string(), //
|
||||||
|
"nf-git-branch" => "\u{e709}\u{e0a0}".to_string(), //
|
||||||
|
"nf-folder1" => '\u{f07c}'.to_string(), //
|
||||||
|
"nf-folder2" => '\u{f115}'.to_string(), //
|
||||||
|
"nf-house1" => '\u{f015}'.to_string(), //
|
||||||
|
"nf-house2" => '\u{f7db}'.to_string(), //
|
||||||
|
|
||||||
"identical_to" => '\u{2261}'.to_string(), // ≡
|
"identical_to" => '\u{2261}'.to_string(), // ≡
|
||||||
"hamburger" => '\u{2261}'.to_string(), // ≡
|
"hamburger" => '\u{2261}'.to_string(), // ≡
|
||||||
@ -100,23 +110,24 @@ lazy_static! {
|
|||||||
|
|
||||||
// This is the emoji section
|
// This is the emoji section
|
||||||
// Weather symbols
|
// Weather symbols
|
||||||
"sun" => "☀️".to_string(),
|
// https://www.babelstone.co.uk/Unicode/whatisit.html
|
||||||
"sunny" => "☀️".to_string(),
|
"sun" => "☀️".to_string(), //2600 + fe0f
|
||||||
"sunrise" => "☀️".to_string(),
|
"sunny" => "☀️".to_string(), //2600 + fe0f
|
||||||
"moon" => "🌛".to_string(),
|
"sunrise" => "☀️".to_string(), //2600 + fe0f
|
||||||
"cloudy" => "☁️".to_string(),
|
"moon" => "🌛".to_string(), //1f31b
|
||||||
"cloud" => "☁️".to_string(),
|
"cloudy" => "☁️".to_string(), //2601 + fe0f
|
||||||
"clouds" => "☁️".to_string(),
|
"cloud" => "☁️".to_string(), //2601 + fe0f
|
||||||
"rainy" => "🌦️".to_string(),
|
"clouds" => "☁️".to_string(), //2601 + fe0f
|
||||||
"rain" => "🌦️".to_string(),
|
"rainy" => "🌦️".to_string(), //1f326 + fe0f
|
||||||
"foggy" => "🌫️".to_string(),
|
"rain" => "🌦️".to_string(), //1f326 + fe0f
|
||||||
"fog" => "🌫️".to_string(),
|
"foggy" => "🌫️".to_string(), //1f32b + fe0f
|
||||||
"mist" => '\u{2591}'.to_string(),
|
"fog" => "🌫️".to_string(), //1f32b + fe0f
|
||||||
"haze" => '\u{2591}'.to_string(),
|
"mist" => '\u{2591}'.to_string(), //2591
|
||||||
"snowy" => "❄️".to_string(),
|
"haze" => '\u{2591}'.to_string(), //2591
|
||||||
"snow" => "❄️".to_string(),
|
"snowy" => "❄️".to_string(), //2744 + fe0f
|
||||||
"thunderstorm" => "🌩️".to_string(),
|
"snow" => "❄️".to_string(), //2744 + fe0f
|
||||||
"thunder" => "🌩️".to_string(),
|
"thunderstorm" => "🌩️".to_string(),//1f329 + fe0f
|
||||||
|
"thunder" => "🌩️".to_string(), //1f329 + fe0f
|
||||||
|
|
||||||
// This is the "other" section
|
// This is the "other" section
|
||||||
"bel" => '\x07'.to_string(), // Terminal Bell
|
"bel" => '\x07'.to_string(), // Terminal Bell
|
||||||
|
Loading…
Reference in New Issue
Block a user