ok/jj
1
0
Fork 0
forked from mirrors/jj

docs: describe how to set up commmand-line completion

This commit is contained in:
Martin von Zweigbergk 2021-10-13 20:38:39 -07:00
parent 56e0f1254b
commit ca796b49f0

View file

@ -89,6 +89,12 @@ $ rustup install nightly
$ cargo +nightly install --git https://github.com/martinvonz/jj.git
```
To set up command-line completion, source the output of
`jj debug completion --bash/--zsh/--fish`. For example, if you use Bash:
```shell script
$ source <(jj debug completion) # --bash is the default
```
You may also want to configure your name and email so commits are made in your
name. Create a `~/.jjconfig` file and make it look something like this:
```shell script