From ca796b49f06f9ab9ddf061423bb63b4dfd739868 Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Wed, 13 Oct 2021 20:38:39 -0700 Subject: [PATCH] docs: describe how to set up commmand-line completion --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a74271ac4..a3c8d3278 100644 --- a/README.md +++ b/README.md @@ -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