cicada: update to 0.9.12 (#5346)
This commit is contained in:
parent
572d346dd7
commit
713381156a
@ -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() {
|
||||
|
15
packages/cicada/update-prompt.patch
Normal file
15
packages/cicada/update-prompt.patch
Normal 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;
|
||||
|
Loading…
Reference in New Issue
Block a user