export SHELL_CONFIG="$SHELL_CONFIG:.profile" export EDITOR=/usr/bin/vim export BROWSER=/usr/bin/qutebrowser if command -v ruby ; then ruby_path=$(ruby -r rubygems -e "puts Gem.user_dir")/bin export PATH="$ruby_path:$PATH" fi &> /dev/null if command -v yarn ; then yarn_path=$(yarn global bin) export PATH="$yarn_path:$PATH" alias npm_real=$(command -v npm) function npm { echo "Please use Yarn instead!!" echo " If you must use npm use: 'npm_real'" } fi &> /dev/null export PATH="$PATH:$HOME/.local/bin:$yarn_path:$ruby_path" # https://developers.google.com/web/tools/puppeteer/troubleshooting export CHROME_DEVEL_SANDBOX=/usr/lib/chromium/chrome-sandbox # fzf + ag config export FZF_DEFAULT_COMMAND='rg --line-number --color never --no-heading ""' export HISTFILE=~/.histfile export HISTSIZE=10000 export SAVEHIST=$HISTSIZE #disable suspend and resume stty -ixon # autoenv activate export AUTOENV_ENV_FILENAME=.in export AUTOENV_ENV_LEAVE_FILENAME=.out export AUTOENV_ENABLE_LEAVE=1 [ -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" ] && . /home/ray/.config/broot/launcher/bash/br # vim: filetype=sh