aboutsummaryrefslogtreecommitdiff
path: root/dot_profile
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2022-01-22 11:52:57 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2022-01-22 11:52:57 +0100
commitcd0cf31e08fa031451db9630f0c047d8ecae016e (patch)
tree10992c71abce1162f5a206b5a1682ba403205232 /dot_profile
parent0bfa019c7bd89254a29fbe46e3b37a51a9d80726 (diff)
Update and addition of xava
Diffstat (limited to 'dot_profile')
-rw-r--r--dot_profile7
1 files changed, 5 insertions, 2 deletions
diff --git a/dot_profile b/dot_profile
index 3e89dcf..46f5ea5 100644
--- a/dot_profile
+++ b/dot_profile
@@ -2,9 +2,12 @@
# Profile file. Runs on login. Environmental variables are set here.
-export PATH="$PATH:$HOME/.local/bin:$HOME/py:$HOME/.local/usr/local/bin:$HOME/.local/usr/bin:$HOME/.local/share/gem/ruby/3.0.0/bin"
+export PATH="$HOME/.local/bin:$HOME/py:$HOME/.local/usr/local/bin:$HOME/.local/usr/bin:$HOME/.local/share/gem/ruby/3.0.0/bin:$HOME/.cargo/bin:$PATH"
export XBPS_DISTDIR="$HOME/workbench/void-packages"
+#Allow user-wide installations for npm
+export npm_config_prefix="$HOME/.local"
+
# Default programs:
export EDITOR="nvim"
export TERMINAL="xterm"
@@ -19,7 +22,7 @@ export BAT_THEME="Dracula"
[ ! -f ~/.config/shortcutrc ] && shortcuts >/dev/null 2>&1
-echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc"
+echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && . "$HOME/.bashrc"
# Start graphical server if i3 not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx