wasertech / codepilot Goto Github PK
View Code? Open in Web Editor NEWYour AI command line copilot.
License: GNU General Public License v3.0
Your AI command line copilot.
License: GNU General Public License v3.0
Copilot added a shell-specific aliases generator function.
❯ gh copilot alias --help
Generate optional shell-specific aliases and functions for invoking gh copilot commands.
These aliases and functions are not required to use gh copilot, but they can be useful for convenience as they require fewer keystrokes and aid in executing suggested commands:
- `ghce`: wraps `gh copilot explain`
- `ghcs`: wraps `gh copilot suggest`, adding support for executing suggestions
Usage:
copilot alias <shell> [flags]
Examples:
# Add aliases to Bash configuration
$ echo 'eval "$(gh copilot alias -- bash)"' >> ~/.bashrc
# Add aliases to PowerShell profile
$ $GH_COPILOT_PROFILE = Join-Path -Path $(Split-Path -Path $PROFILE -Parent) -ChildPath "gh-copilot.ps1"
$ gh copilot alias -- pwsh | Out-File ( New-Item -Path $GH_COPILOT_PROFILE -Force )
$ echo ". `"$GH_COPILOT_PROFILE`"" >> $PROFILE
# Add aliases to Zsh configuration
$ echo 'eval "$(gh copilot alias -- zsh)"' >> ~/.zshrc
Flags:
-h, --help help for alias
Global Flags:
--hostname string The GitHub host to use for authentication
Could be added into CodePilot first initialization.
Would be nice to have an option to also setup the neovim extention for gh copilot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.