diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2024-02-04 03:57:48 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2024-02-04 03:57:48 -0600 |
commit | 63b09ced297b246af35205ba48c4418a1b46c72b (patch) | |
tree | 23e4657cc1629edfc0ea79b0213f06d0f49735b4 | |
parent | a69f5a50cc96e3f0dee7a74666ef5b64d519b57e (diff) |
fix: cleanup homedir
-rw-r--r-- | .config/npm/npmrc | 4 | ||||
-rw-r--r-- | .config/shell/profile | 3 | ||||
l--------- | .vim/colors | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/.config/npm/npmrc b/.config/npm/npmrc new file mode 100644 index 0000000..b12cc98 --- /dev/null +++ b/.config/npm/npmrc @@ -0,0 +1,4 @@ +prefix=${XDG_DATA_HOME}/npm +cache=${XDG_CACHE_HOME}/npm +init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js +logs-dir=${XDG_STATE_HOME}/npm/logs diff --git a/.config/shell/profile b/.config/shell/profile index 56f89d9..bda9343 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -20,12 +20,15 @@ export LESSHISTFILE="-" export HISTSIZE=10000 export HISTFILE="$XDG_STATE_HOME/bash/history" export WGETRC="$XDG_CONFIG_HOME/wgetrc" +# npm +export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc # Golang export GOBIN="$HOME/.local/bin/go" export GOPATH="$XDG_DATA_HOME/go" export GOMODCACHE="$XDG_CACHE_HOME/go/mod" export PATH="$PATH:$GOBIN:$GOPATH/bin" # Rust +export RUSTUP_HOME="$XDG_DATA_HOME/rustup" export CARGO_HOME="$XDG_DATA_HOME/cargo" export PATH="$PATH:$CARGO_HOME/bin" # bash diff --git a/.vim/colors b/.vim/colors deleted file mode 120000 index adee101..0000000 --- a/.vim/colors +++ /dev/null @@ -1 +0,0 @@ -../.config/nvim/colors/
\ No newline at end of file |