From eb0497d1e18d13715297df9c132548640b40895c Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 16 Mar 2026 17:59:07 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20Alias=20superclaude=20pre?= =?UTF-8?q?=20ka=C5=BEd=C3=A9ho=20u=C5=BE=C3=ADvate=C4=BEa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit alias superclaude='claude --dangerously-skip-permissions' v ~/.bashrc Co-Authored-By: Claude Opus 4.6 (1M context) --- install/ubuntu-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/ubuntu-install.sh b/install/ubuntu-install.sh index ccca76d..9662e45 100644 --- a/install/ubuntu-install.sh +++ b/install/ubuntu-install.sh @@ -55,8 +55,9 @@ create_user() { # Inštalácia Claude Code msg_info "Inštalujem Claude Code pre ${username}" if su - "$username" -c "curl -fsSL https://claude.ai/install.sh | bash"; then - # Pridanie ~/.local/bin do PATH + # Pridanie ~/.local/bin do PATH a alias superclaude su - "$username" -c "grep -q '.local/bin' ~/.bashrc || echo 'export PATH=\"\$HOME/.local/bin:\$PATH\"' >> ~/.bashrc" + su - "$username" -c "grep -q 'superclaude' ~/.bashrc || echo \"alias superclaude='claude --dangerously-skip-permissions'\" >> ~/.bashrc" msg_ok "Claude Code nainštalovaný pre ${username}" else msg_warn "Claude Code inštalácia zlyhala pre ${username} (nefatálna chyba)"