Used typeset to define the local array. This does the trick on linux.
This commit is contained in:
parent
ce7b99cdaf
commit
f9957ca559
2 changed files with 4 additions and 3 deletions
|
@ -754,14 +754,14 @@ powerlevel9k_init() {
|
|||
print -P "You should put: %F{blue}export TERM=\"xterm-256color\"%f in your \~\/.zshrc"
|
||||
fi
|
||||
|
||||
typeset -Ah deprecated_segments
|
||||
# Display a warning if deprecated segments are in use.
|
||||
typeset -AH deprecated_segments
|
||||
# old => new
|
||||
deprecated_segments=(
|
||||
'longstatus' 'status'
|
||||
)
|
||||
print_deprecation_warning deprecated_segments
|
||||
|
||||
|
||||
setopt prompt_subst
|
||||
|
||||
setopt LOCAL_OPTIONS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue