aboutsummaryrefslogtreecommitdiff
path: root/dot_profile
diff options
context:
space:
mode:
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