From 1ee146c5ba5cff0b56baeff28fc05fdc79bab2bf Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Sat, 1 Jun 2024 22:35:39 +0200 Subject: [PATCH] Move some DotDirectories --- .bashrc | 13 +++++++++++-- .profile | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 91a9d02..75489f5 100644 --- a/.bashrc +++ b/.bashrc @@ -42,15 +42,24 @@ source "$OSH"/oh-my-bash.sh ################################# ## Application Envs ## ################################# +export PATH=$PATH:"$HOME/.local/bin" + +# NPM +export npm_config_cache="$HOME/.cache/npm" +export npm_config_prefix="$HOME/.local/share/npm" +export npm_config_userconfig="$HOME/.config/npmrc" # Volta -export PATH=$PATH:~/.local/bin -export VOLTA_HOME="$HOME/.volta" +export VOLTA_HOME="$HOME/.local/share/volta" export PATH="$VOLTA_HOME/bin:$PATH" # Podman as Docker on Immutable Distros export DOCKER_HOST=unix:///run/user/1000/podman/podman.sock +# Go +export GOPATH=~/.local/share/go +export GOBIN=~/.local/bin/go + ################################# ## Aliases ## ################################# diff --git a/.profile b/.profile index ba1d1dd..bdb8938 100644 --- a/.profile +++ b/.profile @@ -1,3 +1,3 @@ # Volta -export VOLTA_HOME="$HOME/.volta" +export VOLTA_HOME="$HOME/.local/share/volta" export PATH="$VOLTA_HOME/bin:$PATH"