diff --git a/powerline/bindings/zsh/__init__.py b/powerline/bindings/zsh/__init__.py index 268a3ac9..a7795bbd 100644 --- a/powerline/bindings/zsh/__init__.py +++ b/powerline/bindings/zsh/__init__.py @@ -37,17 +37,11 @@ class Args(object): @property def config(self): - try: - return get_var_config('POWERLINE_CONFIG') - except IndexError: - return None + return get_var_config('POWERLINE_CONFIG') @property def theme_option(self): - try: - return get_var_config('POWERLINE_THEME_CONFIG') - except IndexError: - return None + return get_var_config('POWERLINE_THEME_CONFIG') @property def config_path(self):