Skip to content

Complete completion scripts for Kamal ⌨️

License

Notifications You must be signed in to change notification settings

hschne/kamal-complete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Kamal Complete

Complete Shell Completions for Kamal ⌨️

Kamal-Complete.mp4

Kamal provides many commands and options, and shell completions help you find the right ones.

Installation

Bash

Download the bash completions and source them in your .bashrc. For example:

curl -sL --proto-redir -all,https https://raw.githubusercontent.com/hschne/kamal-complete/refs/heads/main/completions/kamal.bash > ~/.local/share/bash-completion/kamal-completion.bash
echo 'source "$HOME/.local/share/bash-completion/kamal-completion.bash"' >> $HOME/.bashrc

ZSH

Manual

Download ZSH completions as _kamal to some location on your $fpath. For example:

curl -sL --proto-redir -all,https https://raw.githubusercontent.com/hschne/kamal-complete/refs/heads/main/completions/kamal.zsh > ~/.local/share/zsh-completion/_kamal

Plugin Managers

You can download and manage Kamal completions for ZSH using various plugin managers.

zi ice lucid wait as'completion' blockf has'kamal' mv'kamal.zsh -> _kamal'
zi snippet https://github.com/hschne/kamal-complete/blob/main/completions/kamal.zsh

Fish

Download the Fish completions to a location on your completion path.

curl -sL --proto-redir -all,https https://raw.githubusercontent.com/hschne/kamal-complete/refs/heads/main/completions/kamal.fish > ~/.config/fish/completions/kamal.fish

Contributing

Thank you for contributing! ❤️

We welcome all support, whether on bug reports, code, design, reviews, tests, documentation, translations, or just feature requests.

Please use GitHub issues to submit bugs or feature requests.

License

The gem is available as open-source under the terms of the MIT License.