We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d02745 commit 517cde4Copy full SHA for 517cde4
pkgs/by-name/ve/vectorcode/package.nix
@@ -2,6 +2,7 @@
2
lib,
3
python3Packages,
4
fetchFromGitHub,
5
+ installShellFiles,
6
versionCheckHook,
7
8
lspSupport ? true,
@@ -63,10 +64,17 @@ python3Packages.buildPythonApplication rec {
63
64
];
65
};
66
67
+ postInstall = ''
68
+ $out/bin/vectorcode --print-completion=bash >vectorcode.bash
69
+ $out/bin/vectorcode --print-completion=zsh >vectorcode.zsh
70
+ installShellCompletion vectorcode.{bash,zsh}
71
+ '';
72
+
73
pythonImportsCheck = [ "vectorcode" ];
74
75
nativeCheckInputs =
76
[
77
+ installShellFiles
78
versionCheckHook
79
]
80
++ (with python3Packages; [
0 commit comments