romkatv
b9cfa4e7ff
bug fixes:
...
- don't use typeset -p on zsh 5.4 as it's broken there
- remove redundant local declarations from _p9k_prompt_net_iface_async
- change the default value of POWERLEVEL9K_PUBLIC_IP_HOST as the old is broken
2020-01-26 14:46:50 +01:00
romkatv
57dc301d6e
bug fix: declare worker global vars in _p9k_init_vars
2020-01-26 11:46:35 +01:00
romkatv
5e42c4c930
add P9K_KUBECONTEXT_USER
2020-01-26 11:45:56 +01:00
romkatv
08f326a457
add _p9k__segment_{cond,va}_{left,right} and migrate swap to worker
2020-01-25 18:04:06 +01:00
romkatv
f1bb5601fe
process ready replies from worker synchornously in precmd
2020-01-25 12:51:46 +01:00
romkatv
e97a6c6701
delete fifo before killing worker from watchdog
2020-01-25 12:18:15 +01:00
romkatv
2dc56d0afe
trap PIPE
2020-01-25 11:12:30 +01:00
romkatv
565492b10e
migrate over from the old worker api; use worker in battery on macOS
2020-01-25 11:01:14 +01:00
romkatv
148ecf7fc3
use ascii ENQ (0x05) for watchdog pings
2020-01-25 08:03:28 +01:00
romkatv
45d14cbcf5
add watchdog to worker
2020-01-25 07:52:12 +01:00
romkatv
2aa1d07b4a
massive worker simplification (figure out during massive hangover)
2020-01-24 19:47:01 +01:00
romkatv
f1314f9072
Merge branch 'master' into worker
2020-01-24 18:53:02 +01:00
romkatv
08f73b27fd
cherry pick disk_usage fix from 0d33157b12
; see #435
2020-01-24 18:41:17 +01:00
romkatv
186d1539b9
add POWERLEVEL9K_DIR_TRUNCATE_BEFORE_MARKER; see #430
2020-01-23 15:25:13 +01:00
romkatv
e4349e0c9b
fix option names in the color selection screen; fixes #432
2020-01-23 11:49:19 +01:00
romkatv
ed2b83275b
Merge branch 'master' into worker
2020-01-21 12:32:22 +01:00
romkatv
0f9cee9dc2
display lean with 8 colors right away if the terminal does not support 256 colors
2020-01-21 11:48:39 +01:00
romkatv
fc7178ad92
check for truecolor before offering snazzy
2020-01-21 11:39:39 +01:00
romkatv
7144ebb465
add snazzy color scheme option to pure style
2020-01-21 11:38:34 +01:00
romkatv
0f6b7953be
synthesize common prompt functions
2020-01-20 23:37:03 +01:00
romkatv
80e8e46fe5
Merge branch 'master' into worker
2020-01-20 20:12:14 +01:00
romkatv
e01b5d9529
refactor worker code
2020-01-20 20:12:05 +01:00
romkatv
9586e24dfb
add color selection dialog for lean-8colors; remove space before prompt char in lean-* when it's the first segment on the line
2020-01-20 17:45:23 +01:00
romkatv
2feac7f121
survive SIGINT during preexec; see #427
2020-01-20 09:57:03 +01:00
romkatv
f1e9d9ade7
fix ram segment on wsl
2020-01-19 21:24:11 +01:00
romkatv
c79108ff0a
work around wsl bugs
2020-01-19 21:16:26 +01:00
romkatv
430c2b0178
explicit exec in worker
2020-01-19 19:28:42 +01:00
romkatv
0d8a51bcf3
Merge branch 'master' into worker
2020-01-19 16:10:12 +01:00
romkatv
e374395746
follow ~/.zshrc and ~/.p10k.zsh symlinks
...
When the user tells the configuration wizard to apply
changes to ~/.zshrc and ~/.p10k.zsh and these files
are symlinks, apply changes to the targets.
see #426
2020-01-19 15:58:04 +01:00
romkatv
b35a814828
migrate ram to worker
2020-01-19 14:38:13 +01:00
romkatv
635ffb0e21
load the same modules and functions in worker as in master
2020-01-19 13:56:45 +01:00
romkatv
61df3d1cfb
even further simplify worker bootstrap
2020-01-19 13:49:54 +01:00
romkatv
23e8921b8d
further simplify worker bootstrap
2020-01-19 13:14:58 +01:00
romkatv
1208fd10ef
simplify worker bootstrap
2020-01-19 11:53:10 +01:00
romkatv
0ae338dde1
make sure pwd and IFS are initialized when running *_compute
2020-01-19 10:38:16 +01:00
romkatv
e65f05d7be
bump versions
2020-01-18 17:30:04 +01:00
romkatv
5ae34b98fe
skip worker hooks for 'time' if POWERLEVEL9K_EXPERIMENTAL_TIME_REALTIME is not set
2020-01-18 17:27:53 +01:00
romkatv
a36b0cba24
migrate load, ip and vpn_ip to worker
2020-01-18 16:42:00 +01:00
romkatv
573f2549cc
add back POWERLEVEL9K_EXPERIMENTAL_TIME_REALTIME support
2020-01-18 15:58:48 +01:00
romkatv
0d33157b12
migrate disk_usage and public_ip to worker
2020-01-18 15:41:43 +01:00
romkatv
a6e0b01dc1
remove explicit timeout support from worker
2020-01-18 12:08:48 +01:00
romkatv
da498aef57
support parallelism in worker
2020-01-18 11:09:18 +01:00
romkatv
a652d49bd9
Merge branch 'master' into worker
2020-01-18 10:43:34 +01:00
romkatv
0a484d1d99
print the same error message for 32-bit android as for 32-bit linux
...
see https://github.com/romkatv/gitstatus/pull/96
2020-01-18 10:41:44 +01:00
romkatv
145b1a1103
cleanup
2020-01-17 19:17:23 +01:00
romkatv
e0e6a4bf49
cleanup
2020-01-17 19:14:28 +01:00
romkatv
aa0f435d75
add worker.zsh
2020-01-17 19:01:17 +01:00
romkatv
f1da8c41ac
prepare for worker migration
2020-01-17 19:00:29 +01:00
romkatv
a0f3d94dd6
fix POWERLEVEL9K_DIR_HYPERLINK=true with POWERLEVEL9K_SHORTEN_STRATEGY=truncate_from_right
...
fixes #420
2020-01-16 11:06:25 +01:00
romkatv
f85a3a5652
fix 1-liner mode
2020-01-15 23:34:49 +01:00