aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-09-17 13:04:07 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-09-17 13:04:07 +1200
commita71ed3b7ea6e404176f8c8a137b9fb64afeb52c6 (patch)
tree9340d54088bec8893aec3a898214952d92d146d9 /bash
parentRemove unneeded single quotes (diff)
downloaddotfiles-a71ed3b7ea6e404176f8c8a137b9fb64afeb52c6.tar.gz
dotfiles-a71ed3b7ea6e404176f8c8a137b9fb64afeb52c6.zip
Forgot read -r
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 675a5718..69832121 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -143,7 +143,7 @@ prompt() {
# Determine the repository URL and root directory
local url root
- while IFS=: read key value; do
+ while IFS=: read -r key value; do
case $key in
'URL')
url=${value## }