summaryrefslogtreecommitdiff
path: root/git-prompt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-prompt.sh')
-rwxr-xr-xgit-prompt.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-prompt.sh b/git-prompt.sh
index 271326c..a206eaa 100755
--- a/git-prompt.sh
+++ b/git-prompt.sh
@@ -151,7 +151,7 @@
fi
#################################################################### MARKERS
- if [[ $LC_CTYPE =~ "UTF" && $TERM != "linux" ]]; then
+ if [[ "$LC_CTYPE $LC_ALL" =~ "UTF" && $TERM != "linux" ]]; then
elipses_marker="…"
else
elipses_marker="..."