add vars for npm
This commit is contained in:
parent
630db7f6c8
commit
8518a61bdb
@ -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/deskutils/soundboard:"
|
||||||
set -gx PATH "$PATH:$HOME/.local/bin/minrss-scripts:"
|
set -gx PATH "$PATH:$HOME/.local/bin/minrss-scripts:"
|
||||||
|
|
||||||
|
set -gx PATH "$PATH:$XDG_DATA_HOME/npm/bin"
|
||||||
|
|
||||||
# Disable fish greeting
|
# Disable fish greeting
|
||||||
set fish_greeting ""
|
set fish_greeting ""
|
||||||
|
|
||||||
|
@ -28,6 +28,10 @@ export TERMINFO="$XDG_DATA_HOME"/terminfo
|
|||||||
export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo
|
export TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo
|
||||||
# go
|
# go
|
||||||
export GOPATH="$HOME"/.local/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
|
# Set default programs
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
Loading…
Reference in New Issue
Block a user