https://github.com/atomashevic/copilot-cli-fish

GitHub copilot setup for fish shell

https://github.com/atomashevic/copilot-cli-fish

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.3%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

GitHub copilot setup for fish shell

Basic Info
  • Host: GitHub
  • Owner: atomashevic
  • Language: Shell
  • Default Branch: main
  • Size: 8.79 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme

README.md

Setup GitHub Copilot CLI for fish shell

Copilot for CLI integrates Copilot into your shell.

If have access to this feature, few steps are needed to activate Copilot in your shell. Official instructions support zsh and bash shells, but with few changes the aliases for Copilot CLI can be integrated into fish.

First step is to install Copilot for CLI from fish:

fish npm install -g @githubnext/github-copilot-cli

Second step is to authenticate your GitHub account:

github-copilot-cli auth

After authentication is completed you essentially have everything you need except aliases for three commands of Copilot workflow in CLI. You need to edit your fish config file (e.g. ~\.config\fish) and add the code from copilot.fish at the end of your config file.

Restart your shell and you will have aliases for three comands at your disposal:

  1. wts <query> : Runs what-the-shell which gives shell commands from natural language descriptions
  2. gitq <query>: Runs git-assist which gives git commands from natural language descriptions
  3. ghq <query> : Runs gh-assist which gives gh (official GitHub cli tool) commands from natueral language descriptions

You can customize the aliases in your fish .config file.

Limitations

Calling wts may often return shell commands which will only work in bash or zsh. According to the official documentation you can try to revise the request by adding on fish shell to your query.

Owner

  • Name: Aleksandar Tomašević
  • Login: atomashevic
  • Kind: user
  • Location: Novi Sad, Serbia
  • Company: University of Novi Sad

GitHub Events

Total
Last Year

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 8
  • Total Committers: 1
  • Avg Commits per committer: 8.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Aleksandar Tomašević 3****c 8

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels