1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

nodejs: add bash completions for npm

This commit is contained in:
Jaka Hudoklin 2016-12-11 14:57:49 +01:00
parent c316dd1cc7
commit a50fc480c3

View file

@ -58,6 +58,11 @@ in
postInstall = ''
paxmark m $out/bin/node
PATH=$out/bin:$PATH patchShebangs $out
${optionalString enableNpm ''
mkdir -p $out/share/bash-completion/completions/
$out/bin/npm completion > $out/share/bash-completion/completions/npm
''}
'';
meta = {