From d4928b2981f1a3b6378c094b25cf5a7ccb00f85a Mon Sep 17 00:00:00 2001 From: bain Date: Sun, 5 Nov 2023 14:56:14 +0100 Subject: [PATCH] add shell completion instructions --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7d1caf6..04d524f 100644 --- a/README.md +++ b/README.md @@ -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