aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme8
1 files changed, 8 insertions, 0 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index 0707276d..cdcb9a96 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -754,6 +754,14 @@ powerlevel9k_init() {
print -P "You should put: %F{blue}export TERM=\"xterm-256color\"%f in your \~\/.zshrc"
fi
+ # 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