aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-06-09 23:35:49 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-06-09 23:35:49 +1200
commit13dd38b615a5f0ec9458a26ce489b39b4e33024d (patch)
tree3d7eb83287efc799b986aad9e3f973707711fecb /bash
parentWrap synmaxcol in conditionals (diff)
downloaddotfiles-13dd38b615a5f0ec9458a26ce489b39b4e33024d.tar.gz
dotfiles-13dd38b615a5f0ec9458a26ce489b39b4e33024d.zip
Add return value for VCS prompt function
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index e39f7f26..94e0f7f7 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -119,6 +119,7 @@ function prompt_hg {
# using that kind of repository, to save some cycles.
function prompt_vcs {
prompt_git || prompt_svn || prompt_hg
+ return $?
}
# Uncolored bits of my prompt, we'll color them if appropriate shortly.