https://github.com/rkh/zsh-jj
Jujutsu support for Z Shell
https://github.com/rkh/zsh-jj
jj jujutsu prompt vcs zsh
Last synced: 7 months ago
JSON representation
Jujutsu support for Z Shell
- Host: GitHub
- URL: https://github.com/rkh/zsh-jj
- Owner: rkh
- License: mit
- Created: 2025-03-23T22:11:20.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-23T22:33:35.000Z (8 months ago)
- Last Synced: 2025-03-23T23:27:27.974Z (8 months ago)
- Topics: jj, jujutsu, prompt, vcs, zsh
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- trackawesomelist - jj (⭐0) - Add support for [jujitsu (⭐12k)](https://github.com/jj-vcs/jj) VCS. (Recently Updated / [Mar 27, 2025](/content/2025/03/27/README.md))
README
# Jujutsu support for Z Shell
This repository contains two things:
* VCS Info support for Jujutsu (inside [functions](functions) directory)
* A pre-configured zsh prompt for both Jujutsu and git, as a zsh plugin, inspired by [zap-prompt](https://github.com/zap-zsh/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](https://www.zapzsh.com/), add the following to your `.zshrc`:
```shell
plug "rkh/zsh-jj"
```
Without a plugin manager, clone the repository, and source `zsh-jj.plugin.zsh` in your `.zshrc`:
```shell
source /path/to/zsh-jujutsu/zsh-jj.plugin.zsh
```
If you only want JJ support, but not the prompt, add the functions directory to your `$fpath` and enable `jj` in your `.zshrc`:
```shell
fpath+=/path/to/zsh-jujutsu/functions
zstyle ':vcs_info:*' enable jj
```