diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-04-06 12:02:00 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-04-06 12:02:00 +0300 |
commit | fb117b5f9775e8378386172378b3112e4bef4e27 (patch) | |
tree | 1156d9875d789a398235927d49cf1de45e7bd348 /internal/notes.md | |
parent | 0cdb75b9d177c2303fbd50aef0eaf02fe3473574 (diff) |
notes
Diffstat (limited to 'internal/notes.md')
-rw-r--r-- | internal/notes.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/notes.md b/internal/notes.md index 67cb6853..aca8d9f1 100644 --- a/internal/notes.md +++ b/internal/notes.md @@ -145,3 +145,13 @@ There are two prompt questions that don't fit this pattern: `ask_empty_line` and Revert `3ef4e68b5fdae654f323af644cbca40f27a8ab97`. Instead of it use `zf_rm -f -- $dst` before `zf_mv -f -- $src $dst`. `zwc` files are readonly and `zf_mv` fails on NTFS if the target file exists and is readonly. +--- +Optimize auto-wizard check. + +```text +time ( repeat 1000 [[ -z "${parameters[(I)POWERLEVEL9K_*~(POWERLEVEL9K_MODE|POWERLEVEL9K_CONFIG_FILE)]}" ]] ) +user=0.21s system=0.05s cpu=99% total=0.264 + +time ( repeat 1000 [[ -z "${parameters[(I)POWERLEVEL9K_*]}" ]] ) +user=0.17s system=0.00s cpu=99% total=0.175 +``` |