3
0
Fork 0
forked from mirrors/nixpkgs

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 = {