linode-cli: add fish shell completion

This commit is contained in:
superherointj 2024-07-15 12:14:22 -03:00
parent 6b136bb0cc
commit 592cb1ee5d

View File

@ -71,7 +71,10 @@ buildPythonApplication rec {
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installShellCompletion --cmd linode-cli --bash <($out/bin/linode-cli --skip-config completion bash)
for shell in bash fish; do
installShellCompletion --cmd linode-cli \
--$shell <($out/bin/linode-cli --skip-config completion $shell)
done
'';
passthru.updateScript = ./update.sh;