3 # don't remember duplicate commands or commands starting with spaces
 
   4 export HISTCONTROL=ignoreboth
 
   6 # colored GCC warnings and errors
 
   7 export GCC_COLORS='auto'
 
   9 if command -v xdg-open &> /dev/null;
 
  11   export BROWSER='xdg-open'
 
  14 if command -v vi &> /dev/null;
 
  19 if [ -f "$HOME/.pythonrc" ];
 
  21   export PYTHONSTARTUP="$HOME/.pythonrc"
 
  24 if [ -d "$HOME/.config/composer/vendor/bin" ] && [[ ":$PATH:" != *":$HOME/.config/composer/vendor/bin:"* ]];
 
  26   export PATH="$PATH:$HOME/.config/composer/vendor/bin"
 
  29 # Set up the 'less' pager
 
  30 if command -v lessfile &> /dev/null;
 
  35 # use vim as the pager if vimpager is available
 
  36 if [ -x "$HOME/.vim/vimpager" ];
 
  38   export PAGER="$HOME/.vim/vimpager"
 
  40   # info is broken with vimpager
 
  41   alias info="PAGER=/usr/bin/less info"
 
  44 # disable the automatic gst-build prompt override, it interferes with the custom prompt
 
  45 export GST_BUILD_DISABLE_PS1_OVERRIDE="TRUE"