From 2eab01aaddb5b69d0ccb5f75bb72546c4f5269c2 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 15 Dec 2015 07:55:05 +0100 Subject: [PATCH] agnoster: don't set LC_CTYPE Thanks to the previous commit, this is not needed anymore. Moreover, there is no guarantee that en_US.UTF-8 is available on the current system. --- themes/agnoster.zsh-theme | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index 103041ee..95c20bab 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -32,20 +32,17 @@ CURRENT_BG='NONE' # Special Powerline characters -() { - local LC_ALL="" LC_CTYPE="en_US.UTF-8" - # NOTE: This segment separator character is correct. In 2012, Powerline changed - # the code points they use for their special characters. This is the new code point. - # If this is not working for you, you probably have an old version of the - # Powerline-patched fonts installed. Download and install the new version. - # Do not submit PRs to change this unless you have reviewed the Powerline code point - # history and have new information. - # This is defined using a Unicode escape sequence so it is unambiguously readable, regardless of - # what font the user is viewing this source code in. Do not replace the - # escape sequence with a single literal character. - # Do not change this! Do not make it '\u2b80'; that is the old, wrong code point. - SEGMENT_SEPARATOR=$'\ue0b0' -} +# NOTE: This segment separator character is correct. In 2012, Powerline changed +# the code points they use for their special characters. This is the new code point. +# If this is not working for you, you probably have an old version of the +# Powerline-patched fonts installed. Download and install the new version. +# Do not submit PRs to change this unless you have reviewed the Powerline code point +# history and have new information. +# This is defined using a Unicode escape sequence so it is unambiguously readable, regardless of +# what font the user is viewing this source code in. Do not replace the +# escape sequence with a single literal character. +# Do not change this! Do not make it '\u2b80'; that is the old, wrong code point. +SEGMENT_SEPARATOR=$'\ue0b0' # Begin a segment # Takes two arguments, background and foreground. Both can be omitted,