Skip to content

Instantly share code, notes, and snippets.

@quinnjr
Created April 10, 2026 21:57
Show Gist options
  • Select an option

  • Save quinnjr/6120cdef8fe831d0c51ab30ef244cfcb to your computer and use it in GitHub Desktop.

Select an option

Save quinnjr/6120cdef8fe831d0c51ab30ef244cfcb to your computer and use it in GitHub Desktop.
claude --yolo: alias for claude --dangerously-skip-permissions
# 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