add vars for npm

This commit is contained in:
dogeystamp 2023-01-03 13:40:35 -05:00
parent 630db7f6c8
commit 8518a61bdb
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 6 additions and 0 deletions

View File

@ -15,6 +15,8 @@ set -gx PATH "$PATH:$HOME/.local/bin/deskutils:"
set -gx PATH "$PATH:$HOME/.local/bin/deskutils/soundboard:"
set -gx PATH "$PATH:$HOME/.local/bin/minrss-scripts:"
set -gx PATH "$PATH:$XDG_DATA_HOME/npm/bin"
# Disable fish greeting
set fish_greeting ""

View File

@ -28,6 +28,10 @@ export TERMINFO="$XDG_DATA_HOME"/terminfo
export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo
# go
export GOPATH="$HOME"/.local/go
# npm
export npm_config_userconfig=$XDG_CONFIG_HOME/npm/config
export npm_config_cache=$XDG_CACHE_HOME/npm
export npm_config_prefix=$XDG_DATA_HOME/npm
# Set default programs
export EDITOR="nvim"