Zsh justfile completion

June 16, 2025 ยท View on GitHub

This plugin adds zsh-completion for the just tool.

Installation

  • oh-my-zsh:

    • Clone this repository to $HOME/.oh-my-zsh/custom/plugins/:

      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:

      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:

    source ".../zsh-justfile/zsh-justfile.plugin.zsh"
    fpath+=".../zsh-justfile"
    autoload -U compinit
    compinit
    

Credits