]> code.delx.au - dotfiles/blobdiff - .bash/environment
bash: reorder initialisation
[dotfiles] / .bash / environment
index e14b4e9721a872e3f9d32dd62ce2dac037257d51..63a760b2053b81187a85ce5fae9a5291de365538 100644 (file)
@@ -31,18 +31,10 @@ else
     export EDITORBG="vim"
 fi
 
-# Expand any symbolic links in the TMPDIR environment variable
-[ -n "$TMPDIR" ] && export TMPDIR="$(cd "${TMPDIR}" && pwd -P)"
-
-# Load the bash functions
 source "${HOME}/.bash/functions"
 
-# The current directory shouldn't be in the path
-pathremove .
+pathprepend "${HOME}/bin"
 
 # Load local environment settings
 [ -r "${HOME}/.bash/environment_local" ] && source "${HOME}/.bash/environment_local"
 
-# ~/bin should be in the front of path if it exists
-pathprepend "${HOME}/bin"
-