diff options
author | Ethan Chen <intervigil@gmail.com> | 2013-02-02 01:45:35 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-05-07 10:35:44 -0700 |
commit | 9186284119dc58d0390d61d69be7486b3b517fc9 (patch) | |
tree | c3d223db1f15db40eeee425548b980ec8d626fb8 | |
parent | 379c0fec61184253f686f303fd02575b40e592b3 (diff) | |
download | build-9186284119dc58d0390d61d69be7486b3b517fc9.zip build-9186284119dc58d0390d61d69be7486b3b517fc9.tar.gz build-9186284119dc58d0390d61d69be7486b3b517fc9.tar.bz2 |
envsetup: add quotes around PROMPT_COMMAND
Better compatibility for zsh.
Change-Id: Ie010c30580e67e3b5357e3cc869114a525762677
-rw-r--r-- | envsetup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/envsetup.sh b/envsetup.sh index af322c3..51f3420 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -251,7 +251,7 @@ function settitle() export ANDROID_PROMPT_PREFIX # Inject build data into hardstatus - export PROMPT_COMMAND=$(echo $PROMPT_COMMAND | sed -e 's/\\033]0;\(.*\)\\007/\\033]0;$ANDROID_PROMPT_PREFIX \1\\007/g') + export PROMPT_COMMAND="$(echo $PROMPT_COMMAND | sed -e 's/\\033]0;\(.*\)\\007/\\033]0;$ANDROID_PROMPT_PREFIX \1\\007/g')" fi } |