Added a mechanism to make deprecated segments visible to the user.
This commit is contained in:
parent
9b067ea29c
commit
ce7b99cdaf
2 changed files with 23 additions and 0 deletions
|
@ -754,6 +754,14 @@ powerlevel9k_init() {
|
|||
print -P "You should put: %F{blue}export TERM=\"xterm-256color\"%f in your \~\/.zshrc"
|
||||
fi
|
||||
|
||||
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