An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

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
```