Skip to content

Instantly share code, notes, and snippets.

@jadatkins
Last active September 16, 2025 12:01
Show Gist options
  • Select an option

  • Save jadatkins/e8fc02352b7d15519727520771019a80 to your computer and use it in GitHub Desktop.

Select an option

Save jadatkins/e8fc02352b7d15519727520771019a80 to your computer and use it in GitHub Desktop.
oh-my-zsh custom aliases
eval "$(gh copilot alias -- zsh)"
alias awslogin='aws sso login --sso-session aws'
alias ccstatusline='npx ccstatusline@latest'
alias claude='ASDF_NODEJS_VERSION=$(asdf latest nodejs) npx -y @anthropic-ai/claude-code "$@"'
alias gemini='ASDF_NODEJS_VERSION=$(asdf latest nodejs) GEMINI_API_KEY="*****" npx -y @google/gemini-cli "$@"'
alias gitlog='git log --reverse --oneline origin/$(git_main_branch)~1..HEAD' # git_main_branch is defined in oh-my-zsh git plugin
alias ff-main='gfa && git merge-base --is-ancestor main origin/main && git fetch origin main:main'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment