npm config: ignore-scripts

master
Raphael 2019-09-21 16:17:55 +02:00 committed by GitHub
parent df9725c336
commit cbd7787698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -38,6 +38,11 @@ fi
git config --global user.email "raphael@crvx.fr" git config --global user.email "raphael@crvx.fr"
git config --global user.name "sundowndev" git config --global user.name "sundowndev"
# If npm is installed, disable scripts at package installation
if type -p "npm" > /dev/null; then
npm config set ignore-scripts true
fi
# vim # vim
#mkdir -p ~/.vim/autoload #mkdir -p ~/.vim/autoload
#curl --insecure -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim #curl --insecure -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim