From dfd822fe86a03c3f8826fbe85381c1166c1815a7 Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Sat, 16 May 2026 16:42:05 +0800 Subject: [PATCH] feat: ignore post-install for npm by default. --- .bashrc | 1 + .zshrc | 1 + 2 files changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 8e29149..2e16911 100644 --- a/.bashrc +++ b/.bashrc @@ -60,6 +60,7 @@ export LESS="-EfmrSwX" export LSCOLORS="gxfxcxdxbxegedabagacad" export PYTHONDONTWRITEBYTECODE=yes export QUILT_PATCHES="debian/patches" +export npm_config_ignore_scripts=true # if [[ ! "${PATH}" =~ "(^|:)/bin(:|$)" ]]; then export PATH="/bin:${PATH}" diff --git a/.zshrc b/.zshrc index 6180099..3d156f4 100644 --- a/.zshrc +++ b/.zshrc @@ -139,6 +139,7 @@ export LSCOLORS="gxfxcxdxbxegedabagacad" export PYTHONDONTWRITEBYTECODE=yes export QUILT_PATCHES="debian/patches" export SAVEHIST=2000 +export npm_config_ignore_scripts=true # if [[ ! "${PATH}" =~ "(^|:)/bin(:|$)" ]]; then export PATH="/bin:${PATH}"