aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-17 13:04:21 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-17 13:04:21 +1200
commitf42d8e35be95745f70762c86bc655b10e89dc307 (patch)
tree7667d62d624f8fa832a4a4c6d945ab37c2ed3a6c /bash
parentForgot read -r (diff)
downloaddotfiles-f42d8e35be95745f70762c86bc655b10e89dc307.tar.gz
dotfiles-f42d8e35be95745f70762c86bc655b10e89dc307.zip
Forgot to make two vars local
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/prompt.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash
index 69832121..42771c0b 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -142,7 +142,7 @@ prompt() {
fi
# Determine the repository URL and root directory
- local url root
+ local key value url root
while IFS=: read -r key value; do
case $key in
'URL')