Commit graph

2642 commits

Author SHA1 Message Date
romkatv
0525188402 pull upstream changes from gitstatus 2019-10-08 14:41:48 +02:00
romkatv
bbaf6107c3 avoid calling 'functions +M' as it sometimes crashes zsh 2019-10-08 13:47:55 +02:00
romkatv
4ef1a9bbdd add azure prompt segment 2019-10-08 13:46:39 +02:00
romkatv
a891b3c2d1 bump state version 2019-10-08 13:05:43 +02:00
romkatv
d4cbe14f06 check for gitstatus.plugin.zsh existence in preinit 2019-10-08 13:02:44 +02:00
romkatv
6cd22e24e2 avoid spurious console output where is more more than one dir segment 2019-10-08 09:46:24 +02:00
romkatv
b7bd643ae6 clarify comments for POWERLEVEL9K_DIR_MAX_LENGTH
Make it explicit that POWERLEVEL9K_DIR_MAX_LENGTH isn't
the only constraint that may cause directory truncation.

See the original description of #250 before this issue
was repurposed for something unrelated.
2019-10-08 09:20:15 +02:00
romkatv
1888d2cee5 pull upstream changes from gitstatus 2019-10-07 21:54:32 +02:00
romkatv
2fd59f5acd replace expansion-based Git status formatter with a function 2019-10-07 12:03:54 +02:00
romkatv
1b0ac8a623 bug fix: respect POWERLEVEL9K_DISABLE_GITSTATUS; see #246 2019-10-07 11:32:00 +02:00
romkatv
f5a5484412 update docs to recommend cloning powerlevel10k git repo with --depth=1 2019-10-07 10:35:27 +02:00
romkatv
3896120d16 remove git flag that has no effect 2019-10-07 10:15:34 +02:00
romkatv
7fb12160d8 doc cleanup 2019-10-07 10:13:13 +02:00
romkatv
3db63ee611 Revert "add POWERLEVEL9K_DEBUG_DUMP_STATE to aid in debugging #244"
This reverts commit 55a27c1f07.
2019-10-07 10:05:50 +02:00
romkatv
d6a336358a replace symbolic links with regular files that "source" 2019-10-06 11:38:00 +02:00
romkatv
55a27c1f07 add POWERLEVEL9K_DEBUG_DUMP_STATE to aid in debugging #244 2019-10-06 10:38:05 +02:00
romkatv
5bd389e707 make __p9k_dump_file readonly to ensure no one unsets it 2019-10-06 10:30:00 +02:00
romkatv
99c9a2ea25 write function _p9k_preinit directly instead of roundtripping it through eval + functions 2019-10-06 10:29:23 +02:00
romkatv
b73042cf43 simplify and speed up gitstatus/pull-upstream.zsh 2019-10-05 18:14:17 +02:00
romkatv
ad48c1e77a pull upstream changes from gitstatus 2019-10-05 18:07:55 +02:00
romkatv
e1f5e46c9c remove debug output 2019-10-05 11:37:58 +02:00
Roman Perepelitsa
2e18704654
Merge pull request #243 from trolley/topic/fix_typo
Correct typo when replacing config file
2019-10-05 10:53:27 +02:00
romkatv
bacb43775d don't unsetopt aliases when the theme is sourced twice 2019-10-05 10:43:50 +02:00
romkatv
6d16760253 bug fix: don't leave temp state dumps if gitstatus is disabled 2019-10-05 09:57:13 +02:00
Mark Trolley
195a0910d1 Correct typo when replacing config file 2019-10-04 17:07:32 -04:00
romkatv
adfdf198b7 update loading time benchmark 2019-10-04 10:06:18 +02:00
romkatv
f8314e5959 stop autoloading and running "color"; p10k does not use it anymore; people who need it can autoload it themselves 2019-10-04 09:48:53 +02:00
romkatv
6765b61823 replace eval with (e) 2019-10-04 09:44:21 +02:00
romkatv
8a11e83fe1 disable aliases 2019-10-04 09:22:02 +02:00
romkatv
93c19e1d62 run preinit asap 2019-10-04 09:21:49 +02:00
romkatv
9c8cf7ac5f dump state even if the cache directory is world-readable 2019-10-04 08:55:15 +02:00
romkatv
2862e5f395 replace ubuntu with archlinux in the docker command; it's faster to install 2019-10-04 08:00:06 +02:00
romkatv
6f11dca7d3 update loading time benchmarks 2019-10-03 22:15:30 +02:00
romkatv
c0cb09991e pull upstream changes from gitstatus 2019-10-03 22:05:15 +02:00
romkatv
4faa24a23d require zsh >= 5.4 for state dumps 2019-10-03 20:42:35 +02:00
romkatv
de00d42d6e don't zcompile state dump when root 2019-10-03 20:41:21 +02:00
romkatv
d435235c29 take advantage of async gitstatus start to make p10k startup faster 2019-10-03 20:14:16 +02:00
romkatv
9d0c49dc58 pull upstream changes from gitstatus 2019-10-03 20:13:04 +02:00
romkatv
60a6ad81dd further startup speedup: zcompile state dump 2019-10-03 14:52:52 +02:00
romkatv
aa79dad7e3 pull upstream changes from gitstatus 2019-10-03 14:51:01 +02:00
romkatv
aa606e6cb0 don't print options when no_aliases, no_sh_glob and brace_expand are all set 2019-10-03 14:50:08 +02:00
romkatv
0cb680edd1 fix bugs in startup speedup and make it yet faster 2019-10-03 14:21:58 +02:00
romkatv
e0bb4f0147 zcompile all sources 2019-10-03 14:21:21 +02:00
romkatv
b8d648b339 Revert "Revert "speed up startup by about 3x""
This reverts commit e5e6249ffd.
2019-10-03 09:42:02 +02:00
romkatv
cb14b9dfc8 pull upstream changes from gitstatus 2019-10-02 19:51:42 +02:00
romkatv
e5e6249ffd Revert "speed up startup by about 3x"
This reverts commit da72685c8b.

Something broke. See #242. Will debug this and roll forward later.
2019-10-02 19:40:50 +02:00
romkatv
4f3e6c5a8e update docs: powerlevel10k is no longer slow to load (still not fast though) 2019-10-02 16:39:41 +02:00
romkatv
47cb0b26d8 pull upstream changes from gitstatus 2019-10-02 15:30:10 +02:00
romkatv
da72685c8b speed up startup by about 3x 2019-10-02 15:29:23 +02:00
romkatv
add0875137 bug fix: set _p9k_keymap whenever vi_mode is in use
fixes #232
2019-09-25 09:22:34 +02:00