From 4eb6ec85ac3251eb47f272166e38014a9cc6086b Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 2 Jan 2015 17:44:26 +0300 Subject: [PATCH] Also make sure that get_var_config uses unicode values --- powerline/bindings/zsh/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerline/bindings/zsh/__init__.py b/powerline/bindings/zsh/__init__.py index c13d58a4..268a3ac9 100644 --- a/powerline/bindings/zsh/__init__.py +++ b/powerline/bindings/zsh/__init__.py @@ -25,7 +25,7 @@ def shutdown(): def get_var_config(var): try: - return mergeargs([parsedotval(i) for i in zsh.getvalue(var).items()]) + return mergeargs([parsedotval((u(k), u(v))) for k, v in zsh.getvalue(var).items()]) except: return None