This repository contains two things:
- VCS Info support for Jujutsu (inside functions directory)
- A pre-configured zsh prompt for both Jujutsu and git, as a zsh plugin, inspired by zap-prompt
If you want to use the prompt out of the box, you can set it up however you install zsh plugins.
With zap, add the following to your .zshrc:
plug "rkh/zsh-jj"Without a plugin manager, clone the repository, and source zsh-jj.plugin.zsh in your .zshrc:
source /path/to/zsh-jujutsu/zsh-jj.plugin.zshIf you only want JJ support, but not the prompt, add the functions directory to your $fpath and enable jj in your .zshrc:
fpath+=/path/to/zsh-jujutsu/functions
zstyle ':vcs_info:*' enable jj