aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-08-18 13:59:17 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-08-18 13:59:17 +1200
commit4ae26786d881a8f50a2a421cc4a5a5c2a5b76c21 (patch)
tree96b72400ea1bd62d23a16a2c58060acc3e9b0006 /bash
parentDon't need this hack anymore (diff)
downloaddotfiles-4ae26786d881a8f50a2a421cc4a5a5c2a5b76c21.tar.gz
dotfiles-4ae26786d881a8f50a2a421cc4a5a5c2a5b76c21.zip
Changed case of test string inappropriately
This is part of the output that I'm searching, not a variable call as my dumb find/replace assumed.
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 27a34023..a4eb42b2 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -223,7 +223,7 @@ function prompt {
svn)
svn info &>/dev/null || return 1
url="$(svn info 2>/dev/null | \
- awk -F': ' '$1 == "url" {print $2}')"
+ awk -F': ' '$1 == "URL" {print $2}')"
root="$(svn info 2>/dev/null | \
awk -F': ' '$1 == "Repository Root" {print $2}')"
branch=${url/$root}