aboutsummaryrefslogtreecommitdiff
path: root/internal/icons.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-08-05 11:37:04 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-08-05 11:37:04 +0300
commitf62d1d5ae3f08c24fb002d25bc3ea1b1d5b782b8 (patch)
treeb4cd045571044734f7706c941bbcb3bf718e36cf /internal/icons.zsh
parent7565d00218a3897034a1e0078738806a530db30d (diff)
speciazled diagnostics for i686; more escapes; more opts
Diffstat (limited to 'internal/icons.zsh')
-rwxr-xr-xinternal/icons.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/icons.zsh b/internal/icons.zsh
index 57eb8ad8..af920bcc 100755
--- a/internal/icons.zsh
+++ b/internal/icons.zsh
@@ -519,7 +519,7 @@ function _p9k_init_icons() {
# Sadly, this is a part of public API. Its use is emphatically discouraged.
function print_icon() {
- emulate -L zsh
+ emulate -L zsh && setopt no_hist_expand extended_glob no_prompt_bang prompt_{cr,percent,subst,sp}
_p9k_init_icons
local icon_name=$1
local var_name=POWERLEVEL9K_${icon_name}
@@ -536,7 +536,7 @@ function print_icon() {
# otherwise "print_icon" is used, which takes the users
# overrides into account.
function get_icon_names() {
- emulate -L zsh
+ emulate -L zsh && setopt no_hist_expand extended_glob no_prompt_bang prompt_{cr,percent,subst,sp}
_p9k_init_icons
# Iterate over a ordered list of keys of the icons array
for key in ${(@kon)icons}; do