termux-packages/packages/cicada/update-prompt.patch
2020-05-30 16:57:33 +03:00

16 lines
488 B
Diff

diff --git a/src/prompt/main.rs b/src/prompt/main.rs
index f27e9c5..e3bf353 100644
--- a/src/prompt/main.rs
+++ b/src/prompt/main.rs
@@ -4,9 +4,7 @@ use crate::execute;
use crate::libs;
use crate::shell;
-const DEFAULT_PROMPT: &str = "${COLOR_STATUS}$USER${RESET}\
- @${COLOR_STATUS}$HOSTNAME${RESET}: \
- ${COLOR_STATUS}$CWD${RESET}$ ";
+const DEFAULT_PROMPT: &str = "${COLOR_STATUS}>> $CWD${RESET}$ ";
use super::preset::apply_preset_item;
use super::preset::apply_pyenv;