aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-03-02 19:43:11 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-03-02 19:43:11 +1300
commit68f5b0e9ba496eeafdcf74b14855bf2e9f57b182 (patch)
treef87a551973c8570b671ca62c97fccf76d2fc8b3a /bash
parentTouch tmux.conf.local (diff)
downloaddotfiles-68f5b0e9ba496eeafdcf74b14855bf2e9f57b182.tar.gz
dotfiles-68f5b0e9ba496eeafdcf74b14855bf2e9f57b182.zip
Add my home directory to .:/home/tom.
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 a913b2de..125bc260 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -17,6 +17,9 @@ HISTIGNORE='ls:ls -l:ls -la:fg:bg:jobs:history'
# Add all commands to the history immediately.
PROMPT_COMMAND='history -a;history -n'
+# Allow my home directory as a base for relative cd calls.
+CDPATH=.:~
+
# Don't check for mail all the time, it's irritating.
unset MAILCHECK