From 759d8da79ee95780d8123666fdb59b6589335df2 Mon Sep 17 00:00:00 2001 From: memdmp Date: Tue, 27 May 2025 18:43:46 +0200 Subject: chore!: remove starship to revert this change, prepend this to your zshrc before loading zuwu: ```zsh if [[ "$_ZUWU_NO_STARSHIP-$_ZUWU_NO_PROMPT" == "-" ]] && [[ -f "${XDG_CONFIG_HOME:-"$HOME/.config"}/starship.toml" ]] && type "starship" >/dev/null; then _ZUWU_NO_PROMPT=1 eval "$(starship init zsh)" fi ``` --- zuwu.zsh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'zuwu.zsh') diff --git a/zuwu.zsh b/zuwu.zsh index 8f9997e..4061256 100755 --- a/zuwu.zsh +++ b/zuwu.zsh @@ -219,9 +219,7 @@ while IFS= read -r f; do done <<< "$(_each_share_dir zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh zsh-syntax-highlighting/zsh-syntax-highlighting.zsh)" # Cute Prompting -if [[ "$_ZUWU_NO_STARSHIP-$_ZUWU_NO_PROMPT" == "-" ]] && [[ -f "${XDG_CONFIG_HOME:-"$HOME/.config"}/starship.toml" ]] && type "starship" >/dev/null; then - eval "$(starship init zsh)" -elif [[ "$_ZUWU_HYPERFAST-$_ZUWU_NO_PROMPT" == "-" ]]; then +if [[ "$_ZUWU_HYPERFAST-$_ZUWU_NO_PROMPT" == "-" ]]; then # unsure of source of function hsv2rgb() { local h=$1 -- cgit v1.2.3