Created
April 10, 2026 21:57
-
-
Save quinnjr/6120cdef8fe831d0c51ab30ef244cfcb to your computer and use it in GitHub Desktop.
claude --yolo: alias for claude --dangerously-skip-permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # claude --yolo | |
| # Add to ~/.zshrc or ~/.bashrc | |
| claude() { | |
| local args=() | |
| for arg in "$@"; do | |
| if [[ "$arg" == "--yolo" ]]; then | |
| args+=("--dangerously-skip-permissions") | |
| else | |
| args+=("$arg") | |
| fi | |
| done | |
| command claude "${args[@]}" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment