aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-08-29 12:42:14 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-08-29 12:42:14 +0300
commit6582c7b25e8bdd5774657f07ccd7e584da167904 (patch)
tree5b534bbbfabcac6ec3f2bf4c640b39b932fef228 /internal/p10k.zsh
parent9fbdebad90c577fd9489ded48f4e3bbd2bf707c7 (diff)
include auto_name_dirs in the config signature
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 98177c94..e8003655 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -4098,6 +4098,7 @@ _p9k_must_init() {
IFS=$'\1' param_sig="${(@)param_keys:/(#b)(*)/$match[1]=\$$match[1]}"
IFS=$'\2' eval "param_sig=x\"$param_sig\""
[[ -o transient_rprompt ]] && param_sig+=t
+ [[ -o auto_name_dirs ]] && param_sig+=d
[[ $param_sig == $_p9k_param_sig ]] && return 1
[[ -n $_p9k_param_sig ]] && _p9k_deinit
_p9k_param_sig=$param_sig