X-Git-Url: https://code.delx.au/dotfiles/blobdiff_plain/d9079f32e0c80c96567d4d028f264694993081ce..0dfd7d0e8bbd638b473c95aed6c7315532466340:/.bash_profile diff --git a/.bash_profile b/.bash_profile index 83660f7..86795d7 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,33 +1 @@ -# Run for login shells. That is, once when you log in via SSH this is run -# to set up your environment variables such as PATH, etc. It then calls -# .bashrc to set up aliases or prompts. -# Copy this around to all your machines and make machine specific -# customisations to ~/.bash_profile_local - -unset RUN_BASH_PROFILE - -# Source the global profile -[ -r /etc/profile ] && source /etc/profile - -# rwx user only -umask 0077 - -# Environment variables that may be overidden in .bash_profile_local -export PAGER="less" -export EDITOR="vim" -export CVS_RSH="ssh" -export RSYNC_RSH="ssh" -export PYTHONSTARTUP="$HOME/.pythonrc.py" -export HISTCONTROL="ignoredups" -export HISTSIZE="10000" - -# Local customisations -[ -f ~/.bash_profile_local ] && source ~/.bash_profile_local - -# Never want to override this, and we want ~/bin at the front of PATH -export PATH="$(echo "$PATH" | sed -e 's/:.:/:/g')" -export PATH="$HOME/bin:$PATH" - -# Interactive mode stuff -[ -r ~/.bashrc ] && source ~/.bashrc - +source ~/.bashrc