aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-06-21 12:17:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-06-21 12:17:32 +1200
commitb31392f271e285889fd96101208fac0fcb9ca454 (patch)
tree93e04b3461e7cb356771b8a3aecc5e367508000a /bash
parentMore portable wc -l with sed (diff)
downloaddotfiles-b31392f271e285889fd96101208fac0fcb9ca454.tar.gz
dotfiles-b31392f271e285889fd96101208fac0fcb9ca454.zip
Source local bashrc file
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 130a030e..32943eb6 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -231,3 +231,6 @@ function prompt {
# Start with full-fledged prompt.
prompt on
+# Run local file if it exists.
+[[ -e "${HOME}/.bashrc.local" ]] && source "${HOME}/.bashrc.local"
+