Skip to content

Instantly share code, notes, and snippets.

@tmrkp
Created September 8, 2025 10:01
Show Gist options
  • Select an option

  • Save tmrkp/70c538313a423e5a5db84c287bd1766a to your computer and use it in GitHub Desktop.

Select an option

Save tmrkp/70c538313a423e5a5db84c287bd1766a to your computer and use it in GitHub Desktop.

GitHub Copilot in Terminal with short command

Add to .zshrc:

c() {
        gh copilot suggest -t shell "$*"
}

Use:

╭─tim@MacBookAir ~  
╰─➤  c find files called hello
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment