mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
require zsh >= 5.4 for state dumps
This commit is contained in:
parent
de00d42d6e
commit
4faa24a23d
1 changed files with 1 additions and 1 deletions
|
@ -3358,7 +3358,7 @@ _p9k_save_status() {
|
|||
}
|
||||
|
||||
function _p9k_dump_state() {
|
||||
is-at-least 5.3 || return
|
||||
is-at-least 5.4 || return # `typeset -g` doesn't roundtrip in zsh prior to 5.4.
|
||||
local dir=${__p9k_dump_file:h}
|
||||
[[ -d $dir ]] || mkdir -pm 0700 $dir || return
|
||||
[[ -w $dir && -z $dir(#qNR) ]] || return
|
||||
|
|
Loading…
Reference in a new issue