Browse Source

Add npm config

master
Riyyi 5 years ago
parent
commit
8522f54944
  1. 4
      .config/npm/npmrc
  2. 3
      .config/zsh/.zprofile

4
.config/npm/npmrc

@ -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
.config/zsh/.zprofile

@ -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"

Loading…
Cancel
Save