summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRory Dudley2025-09-08 05:04:54 -0600
committerRory Dudley2025-09-08 05:12:46 -0600
commit2a5e3834047734b52df08d6505e6a36e2d447485 (patch)
tree464596923f08d62308a293852ca367ae762f25e6
parent9bd00b9c4fe9d742fff87c1db6b6469449103900 (diff)
downloaddwarvish-2a5e3834047734b52df08d6505e6a36e2d447485.tar.gz
Change the default prompt charactertitles
Changed the default prompt character to ¥ (the yen symbol). Signed-off-by: Rory Dudley <[email protected]>
-rw-r--r--dist/etc/dwvshrc2
-rw-r--r--src/main.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/dist/etc/dwvshrc b/dist/etc/dwvshrc
index 7f7314e..f731083 100644
--- a/dist/etc/dwvshrc
+++ b/dist/etc/dwvshrc
@@ -4,4 +4,4 @@
export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
# Default prompt
-export PS1="|> "
+export PS1=" ¥ "
diff --git a/src/main.rs b/src/main.rs
index d58e9e0..db5e22d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -45,7 +45,7 @@ fn repl(
// Get the prompt
let prompt = match env::var("PS1") {
Ok(val) => val,
- Err(_) => String::from("|> "),
+ Err(_) => String::from(" ¥ "),
};
// Update shell title
@@ -217,7 +217,7 @@ fn main() {
} else {
let prompt = match env::var("PS1") {
Ok(val) => val,
- Err(_) => String::from("|> "),
+ Err(_) => String::from(" ¥ "),
};
print!("\n{}", prompt);
io::stdout().flush().unwrap();