vectorcode: install shell completions (#408885)

authored by Gaétan Lepage and committed by GitHub 0054e27a 8a7e026a

+8
+8
pkgs/by-name/ve/vectorcode/package.nix
··· 2 2 lib, 3 3 python3Packages, 4 4 fetchFromGitHub, 5 + installShellFiles, 5 6 versionCheckHook, 6 7 7 8 lspSupport ? true, ··· 63 64 ]; 64 65 }; 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 + 66 73 pythonImportsCheck = [ "vectorcode" ]; 67 74 68 75 nativeCheckInputs = 69 76 [ 77 + installShellFiles 70 78 versionCheckHook 71 79 ] 72 80 ++ (with python3Packages; [