aboutsummaryrefslogtreecommitdiffstats
path: root/zuwu.zsh
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-05-27 18:43:46 +0200
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-05-27 18:43:46 +0200
commit759d8da79ee95780d8123666fdb59b6589335df2 (patch)
tree83c0348e830b5a79c05340c7050620c7043faaec /zuwu.zsh
parent9ba27b11f4f558729cb5e4bf97f4360ba73df852 (diff)
downloadzuwu-759d8da79ee95780d8123666fdb59b6589335df2.tar.gz
zuwu-759d8da79ee95780d8123666fdb59b6589335df2.tar.bz2
zuwu-759d8da79ee95780d8123666fdb59b6589335df2.tar.lz
zuwu-759d8da79ee95780d8123666fdb59b6589335df2.zip

chore!: remove starship

to revert this change, prepend this to your zshrc before loading zuwu:

if [[ "$_ZUWU_NO_STARSHIP-$_ZUWU_NO_PROMPT" == "-" ]] &amp;&amp; [[ -f "${XDG_CONFIG_HOME:-"$HOME/.config"}/starship.toml" ]] &amp;&amp; type "starship" &gt;/dev/null; then
  _ZUWU_NO_PROMPT=1
  eval "$(starship init zsh)"
fi
Diffstat (limited to 'zuwu.zsh')
-rwxr-xr-xzuwu.zsh4
1 files changed, 1 insertions, 3 deletions
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