]> code.delx.au - dotfiles/blobdiff - .bash_profile
xmonad: default to tabbed layout
[dotfiles] / .bash_profile
index 83660f7c3fba34173efebb944687ebc9705c9702..6cdf13a24d6ecccc01c101129237fbfdef7173f6 100644 (file)
@@ -1,33 +1,3 @@
-# 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 "${HOME}/.bashrc"