Add npm config

This commit is contained in:
Riyyi
2020-03-27 16:58:52 +01:00
parent 45a42be0c4
commit 8522f54944
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
prefix=${XDG_DATA_HOME}/npm
cache=${XDG_CACHE_HOME}/npm
tmp=${XDG_RUNTIME_DIR}/npm
init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js
+3
View File
@@ -35,6 +35,9 @@ export LESS_TERMCAP_se="$(printf '%b' '\e[0m')" # reset reverse video
export LESS_TERMCAP_us="$(printf '%b' '\e[04;95m')" # begin underline export LESS_TERMCAP_us="$(printf '%b' '\e[04;95m')" # begin underline
export LESS_TERMCAP_ue="$(printf '%b' '\e[0m')" # reset underline export LESS_TERMCAP_ue="$(printf '%b' '\e[0m')" # reset underline
# npm
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
# Panel # Panel
export PANEL_HEIGHT=38 export PANEL_HEIGHT=38
export PANEL_NAME="polybar_panel" export PANEL_NAME="polybar_panel"