# Zsh justfile completion This plugin adds zsh-completion for the [just](https://github.com/casey/just) tool. ## Installation * [`oh-my-zsh`](https://ohmyz.sh): * Clone this repository to `$HOME/.oh-my-zsh/custom/plugins/`: ```shell git clone https://github.com/jbarberu/zsh-justfile.git "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}"/plugins/zsh-justfile ``` * Add `zsh-justfile` to the plugins array in your zshrc file: ```zsh plugins=(... zsh-justfile) ``` * To install the plugin separately, clone this repository and source `zsh-justfile.plugin.zsh` in your zshrc. Then add this repository's path to the completion path: ```zsh source ".../zsh-justfile/zsh-justfile.plugin.zsh" fpath+=".../zsh-justfile" autoload -U compinit compinit ``` ## Credits - This repo structure was based off of the [zsh-bitbake](https://github.com/antznin/zsh-bitbake.git) plugin. - The plugin itself was "inspired by" [this stack overflow answer](https://stackoverflow.com/questions/77392573/getting-autocomplete-with-zsh-and-justfile-homebrew)