summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2020-10-13 18:01:35 -0400
committerGitHub <noreply@github.com>2020-10-13 18:01:35 -0400
commit783eb3373d4b7541e573f1266a6127b4c6533c6d (patch)
tree775167cd02b8d6c32e160e86159c7417f31548e3
parent2f106a3d37c95498bf732adf3228317cfa1df16e (diff)
fix: replace emoji for cmake and erlang (#1787)
-rw-r--r--docs/config/README.md4
-rw-r--r--src/configs/cmake.rs2
-rw-r--r--src/configs/erlang.rs2
-rw-r--r--src/modules/cmake.rs2
-rw-r--r--src/modules/erlang.rs2
5 files changed, 6 insertions, 6 deletions
diff --git a/docs/config/README.md b/docs/config/README.md
index a2be5361d..eb7a17470 100644
--- a/docs/config/README.md
+++ b/docs/config/README.md
@@ -452,7 +452,7 @@ The `cmake` module shows the currently installed version of CMake if:
| Option | Default | Description |
| ---------- | ---------------------------------- | -------------------------------------------- |
| `format` | `"via [$symbol$version]($style) "` | The format for the module. |
-| `symbol` | `"🛆 "` | The symbol used before the version of cmake. |
+| `symbol` | `"喝 "` | The symbol used before the version of cmake. |
| `style` | `"bold blue"` | The style for the module. |
| `disabled` | `false` | Disables the `cmake` module. |
@@ -920,7 +920,7 @@ The module will be shown if any of the following conditions are met:
| Option | Default | Description |
| ---------- | ---------------------------------- | -------------------------------------------------------- |
-| `symbol` | `"🖧 "` | The symbol used before displaying the version of erlang. |
+| `symbol` | `"îž± "` | The symbol used before displaying the version of erlang. |
| `style` | `"bold red"` | The style for the module. |
| `format` | `"via [$symbol$version]($style) "` | The format for the module. |
| `disabled` | `false` | Disables the `erlang` module. |
diff --git a/src/configs/cmake.rs b/src/configs/cmake.rs
index 5045786b2..df1ed53b2 100644
--- a/src/configs/cmake.rs
+++ b/src/configs/cmake.rs
@@ -14,7 +14,7 @@ impl<'a> RootModuleConfig<'a> for CMakeConfig<'a> {
fn new() -> Self {
CMakeConfig {
format: "via [$symbol$version]($style) ",
- symbol: "🛆 ",
+ symbol: "喝 ",
style: "bold blue",
disabled: false,
}
diff --git a/src/configs/erlang.rs b/src/configs/erlang.rs
index 4fd1b729a..368368a9e 100644
--- a/src/configs/erlang.rs
+++ b/src/configs/erlang.rs
@@ -14,7 +14,7 @@ impl<'a> RootModuleConfig<'a> for ErlangConfig<'a> {
fn new() -> Self {
ErlangConfig {
format: "via [$symbol$version]($style) ",
- symbol: "🖧 ",
+ symbol: "îž± ",
style: "bold red",
disabled: false,
}
diff --git a/src/modules/cmake.rs b/src/modules/cmake.rs
index ec078ce59..3e15eb0cf 100644
--- a/src/modules/cmake.rs
+++ b/src/modules/cmake.rs
@@ -77,7 +77,7 @@ mod tests {
let dir = tempfile::tempdir()?;
File::create(dir.path().join("CMakeLists.txt"))?.sync_all()?;
let actual = ModuleRenderer::new("cmake").path(dir.path()).collect();
- let expected = Some(format!("via {} ", Color::Blue.bold().paint("🛆 v3.17.3")));
+ let expected = Some(format!("via {} ", Color::Blue.bold().paint("喝 v3.17.3")));
assert_eq!(expected, actual);
dir.close()
}
diff --git a/src/modules/erlang.rs b/src/modules/erlang.rs
index 8dc593c36..5b2514c0d 100644
--- a/src/modules/erlang.rs
+++ b/src/modules/erlang.rs
@@ -89,7 +89,7 @@ mod tests {
let dir = tempfile::tempdir()?;
File::create(dir.path().join("rebar.config"))?.sync_all()?;
- let expected = Some(format!("via {} ", Color::Red.bold().paint("🖧 22.1.3")));
+ let expected = Some(format!("via {} ", Color::Red.bold().paint("îž± 22.1.3")));
let output = ModuleRenderer::new("erlang").path(dir.path()).collect();
assert_eq!(output, expected);