3 # This file sets up the environment correctly. It gets run for every shell,
4 # so it must be fast. Also, starting a shell within a shell shouldn't change
5 # the environment. The path manipulation functions are useful for this.
7 # Files will be created by default rwx user only
10 # General environment settings
14 export RSYNC_RSH="ssh"
15 export PYTHONSTARTUP="${HOME}/.pythonrc.py"
16 export HISTCONTROL="ignoredups"
17 export HISTSIZE="10000"
19 # Expand any symbolic links in the TMPDIR environment variable
20 [ -n "$TMPDIR" ] && export TMPDIR="$(cd "${TMPDIR}" && pwd -P)"
22 # Load the bash functions
23 source "${HOME}/.bash/functions"
25 # The current directory shouldn't be in the path
28 # Load local environment settings
29 ssource "${HOME}/.bash/environment_local"
31 # ~/bin should be in the front of path if it exists
32 pathprepend "${HOME}/bin"