https://github.com/hmgle/aider-zsh-complete
Zsh completion script for the `aider`
https://github.com/hmgle/aider-zsh-complete
Last synced: 5 months ago
JSON representation
Zsh completion script for the `aider`
- Host: GitHub
- URL: https://github.com/hmgle/aider-zsh-complete
- Owner: hmgle
- License: apache-2.0
- Created: 2025-01-21T07:50:36.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-02T07:49:40.000Z (9 months ago)
- Last Synced: 2025-03-16T19:49:28.129Z (8 months ago)
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- trackawesomelist - aider (⭐0) - Tab completions for [aider](https://aider.chat/). (Recently Updated / [Feb 10, 2025](/content/2025/02/10/README.md))
README
# aider-zsh-complete
Zsh completion script for the [`aider`](https://aider.chat/) command-line tool.
## Installation
### Step 1: Clone the Repository
Clone this repository to your local machine:
```bash
git clone https://github.com/hmgle/aider-zsh-complete.git
cd aider-zsh-complete
```
### Step 2: Install the Completion Script
Copy the `_aider` completion script to your zsh completions directory:
```bash
mkdir -p ~/.zsh/completions
cp _aider ~/.zsh/completions/
```
### Step 3: Update Your Zsh Configuration
Add the following lines to your `~/.zshrc` file:
```zsh
# Add the completions directory to fpath
fpath=(~/.zsh/completions $fpath)
# Initialize the completion system
autoload -U compinit && compinit -u
```
### Step 4: Reload Zsh Configuration
Reload your zsh configuration to apply the changes:
```bash
source ~/.zshrc
```
### Step 5: Test the Completion
Test the completion by typing `aider` followed by `Tab`:
```bash
aider
```
You should see a list of available options and arguments.
## Contributing
If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
## License
This project is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details.