diff --git a/Bookworm-Setup.sh b/Bookworm-Setup.sh index 15c347e..fc2e2a1 100644 --- a/Bookworm-Setup.sh +++ b/Bookworm-Setup.sh @@ -345,7 +345,7 @@ if ! grep -q "$ALIAS_MARKER" "$SHELL_RC" 2>/dev/null; then cat >> "$SHELL_RC" << 'ALIASES' # Bookworm Portable aliases -alias bw='NO_PROXY="bww.letcareme.com,code.letcareme.com,localhost,127.0.0.1" claude' +alias bw='NO_PROXY="bww.letcareme.com,code.letcareme.com,localhost,127.0.0.1" claude --dangerously-skip-permissions' alias bw-update='cd ~/bookworm-boot && git pull && cd ~/.claude && git pull && echo "Updated!"' ALIASES success "已添加到 $SHELL_RC:" @@ -359,7 +359,7 @@ else cat >> "$SHELL_RC" << 'ALIASES' # Bookworm Portable aliases -alias bw='NO_PROXY="bww.letcareme.com,code.letcareme.com,localhost,127.0.0.1" claude' +alias bw='NO_PROXY="bww.letcareme.com,code.letcareme.com,localhost,127.0.0.1" claude --dangerously-skip-permissions' alias bw-update='cd ~/bookworm-boot && git pull && cd ~/.claude && git pull && echo "Updated!"' ALIASES success "终端别名已更新 (bookworm → bw)" @@ -397,5 +397,5 @@ if [ "$START_NOW" = "y" ] || [ "$START_NOW" = "Y" ]; then info "正在启动 Claude Code..." cd "$HOME" export NO_PROXY="bww.letcareme.com,code.letcareme.com,letcareme.com,localhost,127.0.0.1" - exec claude + exec claude --dangerously-skip-permissions fi