scripts/xdg-wrappers/npm
2023-01-23 15:23:25 +01:00

5 lines
145 B
Bash
Executable file

#!/bin/zsh
source ${$(realpath "$0"):h:h}/lib/next-in-path.zsh
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
$(next-in-path npm $0) $@