From 50eb12378c164235026dbd6745adce5bcbab00c6 Mon Sep 17 00:00:00 2001 From: memdmp Date: Tue, 27 May 2025 18:45:55 +0200 Subject: feat: don't check for completion installation if _ZUWU_HYPERFAST is set --- zuwu.zsh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/zuwu.zsh b/zuwu.zsh index 4061256..0257f71 100755 --- a/zuwu.zsh +++ b/zuwu.zsh @@ -24,8 +24,9 @@ eval_append() { <<<"$2" >> "$1" eval "$2" } -if ! which compinit >/dev/null 2>/dev/null && ! grep compinit ~/.zshrc >/dev/null 2>/dev/null; then - eval_append ~/.zshrc "$(</dev/null 2>/dev/null && ! grep compinit ~/.zshrc >/dev/null 2>/dev/null; then + eval_append ~/.zshrc "$(<