diff options
author | 2013-12-17 20:47:14 +0100 | |
---|---|---|
committer | 2013-12-17 20:47:14 +0100 | |
commit | 5c96bca1ca5340563bdcbb766a5b4161d269fb6f (patch) | |
tree | 0dec8e831b113ce1effbe53ee9d5606f50442ba7 /share | |
parent | d61adfbc532e856242730e198e492a2845754a91 (diff) |
Revert "Ensure that UTF-8 works if LANG contains it."
This was a really stupid change that I should have tested more
before pushing. It broke any non-interactive usage, such as SSH,
fish config, or parsing the script output, as config.fish is
loaded for everything.
There are no issues with different terminal emulators, so this
change will be pushed in the future, but only running in interactive
mode. I apologize for any issues caused by this commit.
This reverts commit d61adfbc532e856242730e198e492a2845754a91.
Diffstat (limited to 'share')
-rw-r--r-- | share/config.fish | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/share/config.fish b/share/config.fish index 14b91446..5eac39bf 100644 --- a/share/config.fish +++ b/share/config.fish @@ -130,13 +130,3 @@ function . --description 'Evaluate contents of file (deprecated, see "source")' source $argv end end - -# Fix lame terminals lying about their encoding (UTF-8 when it's not). -function __fish_update_charset --on-variable LANG - switch $LANG - case \*.UTF-8 - echo -n \e%G - end -end - -__fish_update_charset |