Frederick Zhang
82fdf6848d
Allow setting a cache file name suffix, e.g. "-${TERM}"
...
When mixing tmux (TERM=tmux-256color) and native terminal windows/tabs
(e.g. TERM=xterm-kitty), since they share the same instant prompt cache
files, the cache files are invalidated every time I start a new Zsh in a
different $TERM [1].
People who have this issue can set _P10K_CACHE_SUFFIX="-${TERM}" to work
around it.
[1] e2db860745
2024-06-17 10:23:09 +10:00
Roman Perepelitsa
5ea5d4bc19
disable re_match_pcre, otherwise we can get an error when users enable this option without having zsh/pcre module
2020-12-22 09:16:02 +01:00
Roman Perepelitsa
2d74ac9d06
prefix all `source` calls with `builtin`
2020-07-04 07:03:46 +02:00
romkatv
e3beeea0ae
block SIGINT in nested p10k calls; allow SIGINT in gitstatus_start
2020-05-19 10:10:43 +02:00
romkatv
9fc454fc08
mangle gitstatus function names
2020-05-10 13:31:28 +02:00
romkatv
dc1f023344
work around more zsh bugs w.r.t. local traps
2020-05-06 23:13:56 +02:00
romkatv
aceb1c5c77
fix a typo: ${x:-} => ${x:--}
2020-05-06 23:00:33 +02:00
romkatv
5d41bf4703
block SIGINT while powerlevel10k is running
2020-05-06 21:05:01 +02:00
romkatv
e1323716fe
zf_rm before zf_mv to work around NTFS bugs (see #610 )
2020-04-07 08:21:33 +02:00
romkatv
3ef4e68b5f
suppress errors from zf_mv ( fixes #610 )
2020-04-05 07:04:58 +02:00
romkatv
b2667b8270
don't compile sources if zsh is < 5.1
2020-04-05 06:54:20 +02:00
romkatv
891090acc4
make locale workarounds more robust
2020-02-20 12:31:29 +01:00
romkatv
9ce0a0551e
attempt to make locale workarounds more robust
2020-02-20 08:31:53 +01:00
romkatv
d9da275e9e
more robust zcompile
2020-02-18 15:47:24 +01:00
romkatv
6e9fbbcae4
stop unsetting local_options in powerlevel10k.zsh-theme; see #496
2020-02-15 09:52:54 +01:00
romkatv
9a0e093e0e
disable mmap when loading powerlevel10k; maybe it'll help with #490
2020-02-13 21:07:22 +01:00
romkatv
d71d1409c4
fix `p10k display -a`
2020-02-12 11:15:12 +01:00
romkatv
a12f7ac8ee
when the user's locale is misconfigured, set it to utf8 at the top level
...
fixes #469
2020-02-05 12:50:58 +01:00
romkatv
eb9da89ad9
quote $foo when running with unknown options; fixes #453
2020-02-01 22:03:42 +01:00
romkatv
14868da64a
move buffer parser to internal/parser.zsh
2020-01-27 11:11:27 +01:00
romkatv
3bca7e845f
detect source code corruption done by antigen and suggest resetting cache
2020-01-27 09:33:01 +01:00
romkatv
b7777bb86e
attempt to work around antigen bugs
2020-01-26 22:14:18 +01:00
romkatv
a9715367d4
fix prompt_char (never showed error); unify options
2020-01-26 16:54:52 +01:00
romkatv
0d33157b12
migrate disk_usage and public_ip to worker
2020-01-18 15:41:43 +01:00
romkatv
d0ff9df8d0
return => return 0
2019-11-04 09:07:06 +01:00
romkatv
d17f22e5b0
better handling of XDG_CACHE_HOME changes
2019-10-20 10:36:41 +02:00
romkatv
41c0a87918
wip: instant prompt (part 4)
2019-10-19 14:55:38 +02:00
romkatv
d6a336358a
replace symbolic links with regular files that "source"
2019-10-06 11:38:00 +02:00
romkatv
ceae2d7422
remove most things
2019-03-01 21:45:36 +01:00