diff --git a/.config/npm/npmrc b/.config/npm/npmrc new file mode 100644 index 0000000..fc84b78 --- /dev/null +++ b/.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 diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index b9a0aeb..006851b 100644 --- a/.config/zsh/.zprofile +++ b/.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_ue="$(printf '%b' '\e[0m')" # reset underline +# npm +export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" + # Panel export PANEL_HEIGHT=38 export PANEL_NAME="polybar_panel"