diff --git a/profile b/profile index c8bf6d0..0d2a11d 100644 --- a/profile +++ b/profile @@ -1,10 +1,11 @@ +export SHELL_CONFIG="$SHELL_CONFIG:.profile" export EDITOR=/usr/bin/vim export BROWSER=/usr/bin/qutebrowser -export PATH=~/.npm-global/bin:$PATH -ruby_path=$(ruby -r rubygems -e "puts Gem.user_dir") -export PATH=$ruby_path/bin:$PATH -export PATH=~/.bin:~/.bin/bin:~/.local/bin:$PATH +ruby_path=$(ruby -r rubygems -e "puts Gem.user_dir")/bin +yarn_path=$(yarn global bin) + +export PATH="$HOME/.bin:$HOME/.local/bin:$yarn_path:$ruby_path:$PATH" # https://developers.google.com/web/tools/puppeteer/troubleshooting export CHROME_DEVEL_SANDBOX=/usr/lib/chromium/chrome-sandbox @@ -23,11 +24,11 @@ stty -ixon export AUTOENV_ENV_FILENAME=.in export AUTOENV_ENV_LEAVE_FILENAME=.out export AUTOENV_ENABLE_LEAVE=1 -source "$HOME/.src/autoenv/activate.sh" +[ -f "$HOME/.src/autoenv/activate.sh" ] && . "$HOME/.src/autoenv/activate.sh" # custom aliases [ -f "$HOME/.config/profile/aliases.sh" ] && . "$HOME/.config/profile/aliases.sh" -[ -f "$HOME/.config/broot/launcher/bash/br" ] && source /home/ray/.config/broot/launcher/bash/br +[ -f "$HOME/.config/broot/launcher/bash/br" ] && . /home/ray/.config/broot/launcher/bash/br # vim: filetype=sh