aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2019-11-24 00:30:08 -0500
committertdro <tdro@users.noreply.github.com>2019-11-24 00:30:08 -0500
commit3a02fbf207ef7d18a4f5f3145bc7cf7f4937b330 (patch)
treefb144037fbc6fc4e91dcae18898400337a69135d /.bashrc
parent6e0b7efe884f276ff3d811aef06644eb7e0f7f73 (diff)
downloaddotfiles-3a02fbf207ef7d18a4f5f3145bc7cf7f4937b330.tar.gz
dotfiles-3a02fbf207ef7d18a4f5f3145bc7cf7f4937b330.tar.bz2
dotfiles-3a02fbf207ef7d18a4f5f3145bc7cf7f4937b330.zip
.bashrc: Add cd to prompt command
Quick network mount check
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index fc2241d..1fa3472 100644
--- a/.bashrc
+++ b/.bashrc
@@ -53,7 +53,7 @@ shopt -s histappend;
shopt -s cmdhist;
# prompt command runs on every command
-export PROMPT_COMMAND="history -a"
+export PROMPT_COMMAND="cd .; history -a"
# ssh agent with keychain
alias ssh='eval $(/usr/bin/keychain --eval --agents ssh -Q --quiet ~/.ssh/mobile ~/.ssh/primary) && ssh'