perplexity-cli
🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀
🧠 GitHub Copilot for your command line
git clone https://github.com/loiccoyle/zsh-github-copilot.gitloiccoyle/zsh-github-copilotA
zshplugin for GitHub Copilot
Requires the GitHub CLI with the Copilot extension installed and configured.
The plugin will check for the extension and other dependencies at source time, to disable this check, set the
ZSH_GH_COPILOT_NO_CHECKenvironment variable to1.
Tip
Don't forget to update the gh-copilot extension with gh extension upgrade gh-copilot from time to time.
Add the following to your .zshrc:
antigen bundle loiccoyle/zsh-github-copilot@main
Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins):
git clone https://github.com/loiccoyle/zsh-github-copilot ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-github-copilot
Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):
plugins=(
# other plugins...
zsh-github-copilot
)
Add the following to your .zshrc:
zinit light loiccoyle/zsh-github-copilot
Add the following to your .zshrc:
zplug "loiccoyle/zsh-github-copilot"
Add the following to your .zshrc:
zpm load loiccoyle/zsh-github-copilot
Bind the suggest and/or explain widgets:
bindkey '^[|' zsh_gh_copilot_explain # bind Alt+shift+\ to explain bindkey '^[\' zsh_gh_copilot_suggest # bind Alt+\ to suggest
bindkey '»' zsh_gh_copilot_explain # bind Option+shift+\ to explain bindkey '«' zsh_gh_copilot_suggest # bind Option+\ to suggest
To get command explanations, write out the command in your prompt and hit your keybind.
To get Copilot to suggest a command to fulfill a query, type out the query in your prompt and hit your suggest keybind.
This plugin draws from stefanheule/zsh-llm-suggestions
more like this
🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀
search projects, people, and tags