aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-06-22 09:18:31 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-06-22 09:18:31 +1200
commit43bae03fad9f6c4470b499cbb3cb3459b1456c34 (patch)
tree35fc7eccb373454f79c3af93a7bc8b90fb2b49dd /bash
parentSource local bashrc file (diff)
downloaddotfiles-43bae03fad9f6c4470b499cbb3cb3459b1456c34.tar.gz
dotfiles-43bae03fad9f6c4470b499cbb3cb3459b1456c34.zip
Make final call into expected success
The last command run should be something that I always expect to work, because otherwise the prompt includes an error code every time I log in if there isn't a local .bashrc file, which is the case on most of my servers.
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 32943eb6..1d8b392c 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -228,9 +228,9 @@ function prompt {
esac
}
-# Start with full-fledged prompt.
-prompt on
-
# Run local file if it exists.
[[ -e "${HOME}/.bashrc.local" ]] && source "${HOME}/.bashrc.local"
+# Start with full-fledged prompt.
+prompt on
+