From cd0cf31e08fa031451db9630f0c047d8ecae016e Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Sat, 22 Jan 2022 11:52:57 +0100 Subject: Update and addition of xava --- dot_profile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'dot_profile') 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 -- cgit v1.2.3