From 5037a3a19a47c1816d3731c9c2f9da498298d599 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 26 Feb 2021 10:12:46 +0100 Subject: [PATCH] TT#111254 Provide symlink for ngcp-config shell completion When we invoke `ngcp-config ` for the very first time in a bash session, our shell completion doesn't work. Once `ngcpcfg ` was invoked, then the shell completion for ngcp-config works as well though. This is caused by the fact, that bash loads the completion file(s) on-demand, and we register the completion for `ngcp-config` inside our `ngcpcfg` completion file. If we provide /usr/share/bash-completion/completions/ngcp-config as symlink pointing to /usr/share/bash-completion/completions/ngcpcfg, then the completion for `ngcp-config` also works on first invocation of both ngcpcfg *and* ngcp-config. Change-Id: I99ce535b0be6ff47c0c72ab158cc943b1a1962e3 --- debian/ngcp-ngcpcfg.links | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/ngcp-ngcpcfg.links b/debian/ngcp-ngcpcfg.links index 81c88fa1..d3505864 100644 --- a/debian/ngcp-ngcpcfg.links +++ b/debian/ngcp-ngcpcfg.links @@ -1,2 +1,3 @@ usr/sbin/ngcpcfg usr/sbin/ngcp-config +usr/share/bash-completion/completions/ngcpcfg usr/share/bash-completion/completions/ngcp-config usr/share/man/man8/ngcpcfg.8.gz usr/share/man/man8/ngcp-config.8.gz