From dc98a56119f969c4a51123166048bb99e26dbb6c Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Mon, 19 Jun 2023 22:03:02 -0700 Subject: [PATCH] README: put `jj debug completion` (jj<=0.7.0) close to `jj debug` version Fixes #1711. --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 75349fe7c..51602630b 100644 --- a/README.md +++ b/README.md @@ -255,6 +255,10 @@ jj <= 0.7.0). Exactly how to source it depends on your shell. ```shell script source <(jj util completion) # --bash is the default ``` +Or, with jj <= 0.7.0: +```shell script +source <(jj debug completion) # --bash is the default +``` ### Zsh ```shell script @@ -262,16 +266,30 @@ autoload -U compinit compinit source <(jj util completion --zsh) ``` +Or, with jj <= 0.7.0: +```shell script +autoload -U compinit +compinit +source <(jj debug completion --zsh) +``` ### Fish ```shell script jj util completion --fish | source ``` +Or, with jj <= 0.7.0: +```shell script +jj debug completion --fish | source +``` ### Xonsh ```shell script source-bash $(jj util completion) ``` +Or, with jj <= 0.7.0: +```shell script +source-bash $(jj debug completion) +``` ## Getting started