add shell completion instructions

This commit is contained in:
bain 2023-11-05 14:56:14 +01:00
parent 4f3c067fe8
commit d4928b2981
Signed by: bain
GPG key ID: 31F0F25E3BED0B9B

View file

@ -28,6 +28,8 @@ Run `build.sh` on a linux(-ish) machine. The output is a tarball `ncc.tar`.
* Copy configuration `config` to `/etc/ncc` and modify to suit your environment
* Add `/etc/ncc/ncc-hook.sh` as a hook to your `dehydrated` installation
* Add `ncc` to your `PATH`
* Optionally add shell completion:
* Bash: `_NCC_COMPLETE=bash_source ncc > /etc/bash_completion.d/ncc && . /etc/bash_completion.d/ncc`
# Usage