aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-06-19 16:08:08 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-06-19 16:08:08 +1200
commit5408d7d473f63fc2c8110f44a3784579163efa6e (patch)
treebcbf794841670beaa4941da67dbdb9e92d0e593b /bash/bash_profile
parentAdd ZA mapping to force write all (diff)
downloaddotfiles-5408d7d473f63fc2c8110f44a3784579163efa6e.tar.gz
dotfiles-5408d7d473f63fc2c8110f44a3784579163efa6e.zip
Put everything including paths stuff in .bashrc.
Heresy, I know, but I'm sick of dealing with the distinction between login shells and non-login shells, particularly as far as my $PATH is concerned.
Diffstat (limited to 'bash/bash_profile')
-rw-r--r--bash/bash_profile21
1 files changed, 1 insertions, 20 deletions
diff --git a/bash/bash_profile b/bash/bash_profile
index 6c0b3cb0..0447bddd 100644
--- a/bash/bash_profile
+++ b/bash/bash_profile
@@ -1,22 +1,3 @@
-# Source .bashrc if it exists.
+# Just source .bashrc if it exists.
[[ -e "${HOME}/.bashrc" ]] && source "${HOME}/.bashrc"
-# Add various paths if they exist.
-DIRS="${HOME}/bin
- /usr/local/apache/bin
- /usr/local/mysql/bin
- /usr/local/nagios/bin
- /usr/local/pgsql/bin"
-for DIR in $DIRS; do
- if [[ -d "$DIR" ]] && [[ ":${PATH}:" != *":${DIR}:"* ]]; then
- if [[ -n "$PATH" ]]; then
- PATH="${DIR}:${PATH}"
- else
- PATH=$DIR
- fi
- fi
-done
-
-# None of this UTF8 drawing characters nonsense.
-export NCURSES_NO_UTF8_ACS=1
-