From a9715367d4547dabaa724f9907bc971078453528 Mon Sep 17 00:00:00 2001 From: romkatv Date: Sun, 26 Jan 2020 16:54:52 +0100 Subject: fix prompt_char (never showed error); unify options --- internal/icons.zsh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'internal/icons.zsh') diff --git a/internal/icons.zsh b/internal/icons.zsh index f9dc4ed7..63e9e2e4 100644 --- a/internal/icons.zsh +++ b/internal/icons.zsh @@ -590,8 +590,6 @@ function _p9k_init_icons() { # Sadly, this is a part of public API. Its use is emphatically discouraged. function _p9k_print_icon() { - emulate -L zsh - setopt no_hist_expand extended_glob no_prompt_bang prompt_{percent,subst} _p9k_init_icons [[ -z $_p9k_locale ]] || local LC_ALL=$_p9k_locale local icon_name=$1 @@ -609,8 +607,6 @@ function _p9k_print_icon() { # otherwise "print_icon" is used, which takes the users # overrides into account. function _p9k_get_icon_names() { - emulate -L zsh - setopt no_hist_expand extended_glob no_prompt_bang prompt_{percent,subst} _p9k_init_icons [[ -z $_p9k_locale ]] || local LC_ALL=$_p9k_locale # Iterate over a ordered list of keys of the icons array -- cgit v1.2.3