cicada: update to 0.9.12 (#5346)

This commit is contained in:
Hugo Wang 2020-05-30 21:57:33 +08:00 committed by GitHub
parent 572d346dd7
commit 713381156a
2 changed files with 17 additions and 2 deletions

View File

@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/mitnk/cicada
TERMUX_PKG_DESCRIPTION="A bash like Unix shell"
TERMUX_PKG_MAINTAINER="Hugo Wang <w@mitnk.com>"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION=0.9.11
TERMUX_PKG_VERSION=0.9.12
TERMUX_PKG_SRCURL=https://github.com/mitnk/cicada/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=a3755aab5c60887587e2e98d0786e7cbf03b9871e931d2a6a177aa093427253d
TERMUX_PKG_SHA256=6ae7063d586618ebf11d54bd45ffc27dc62933e7a58258c6ed1bfa3d16aa8508
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {

View File

@ -0,0 +1,15 @@
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;