linode-cli: add fish shell completion
This commit is contained in:
parent
6b136bb0cc
commit
592cb1ee5d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user