Created
November 19, 2025 22:14
-
-
Save ali-aka-ahmed/332b2e04158f9bfac3dfabf20301f136 to your computer and use it in GitHub Desktop.
Claude Autorun Alias
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 command wrapper with YOLO mode | |
| claude() { | |
| # If the first arg is "yolo", rewrite the command | |
| if [[ "$1" == "yolo" ]]; then | |
| echo "⚠️ YOLO mode enabled… skipping permissions" | |
| shift 1 | |
| command claude --dangerously-skip-permissions "$@" | |
| else | |
| # Otherwise pass everything through to the real claude binary | |
| command claude "$@" | |
| fi | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment