aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-02-21 11:35:45 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-02-21 11:35:45 +1300
commit6c33d7e66d3110cc59f0dc22638763f894f9c364 (patch)
tree3dd66be14086b8ee41b0bcc9c903c1850c666c9f /bash/bash_profile
parentvi-ish copy paste (diff)
downloaddotfiles-6c33d7e66d3110cc59f0dc22638763f894f9c364.tar.gz
dotfiles-6c33d7e66d3110cc59f0dc22638763f894f9c364.zip
Added bash files, wrote installation script.
Diffstat (limited to 'bash/bash_profile')
-rw-r--r--bash/bash_profile12
1 files changed, 12 insertions, 0 deletions
diff --git a/bash/bash_profile b/bash/bash_profile
new file mode 100644
index 00000000..bae38cfa
--- /dev/null
+++ b/bash/bash_profile
@@ -0,0 +1,12 @@
+# If running Bash, source .bashrc.
+if [ -n "$BASH_VERSION" ]; then
+ if [ -f "$HOME/.bashrc" ]; then
+ . "$HOME/.bashrc"
+ fi
+fi
+
+# Add ~/bin to the path if it exists.
+if [ -d "$HOME/bin" ]; then
+ PATH="$HOME/bin:$PATH"
+fi
+