Roman Perepelitsa
a9f208c8fc
don't auto-start configuration wizard if it's likely that zshrc is broken
...
This change is an attempt to automate this:
https://github.com/romkatv/powerlevel10k#configuration-wizard-runs-automatically-every-time-zsh-is-started
3 years ago
Roman Perepelitsa
a3727dcaef
wizard: don't refuse to start if ZDOTDIR is not writable; see #987
4 years ago
Roman Perepelitsa
f2bf019758
wizard: simplify instant prompt screen; make sure all screens work with 47x14 terminal size
4 years ago
Roman Perepelitsa
2d74ac9d06
prefix all `source` calls with `builtin`
4 years ago
romkatv
5baecd66db
wizard now reacts to terminal size changes and can function at much smaller terminal dimensions; fixes #649
5 years ago
romkatv
ddc47993a2
add POWERLEVEL9K_CONFIG_FILE
5 years ago
romkatv
1a9f317650
wizard: gracefully handle non-writable ~/.zshrc
5 years ago
brettm12345
9017e5815c
Remove the extra variable and inline the test
5 years ago
brettm12345
cb6351436a
Change variable name and fix warning
5 years ago
brettm12345
fe27e57de6
Added the `__p9k_readonly_zsh` variable
5 years ago
romkatv
eb9da89ad9
quote $foo when running with unknown options; fixes #453
5 years ago
romkatv
a9715367d4
fix prompt_char (never showed error); unify options
5 years ago
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
5 years ago
romkatv
183ec8ff6e
survive ancient zsh in PATH (run wizard.zsh from a fork)
5 years ago
romkatv
fdb90994c9
add `p10k reload` and call it from all standard configs
5 years ago
romkatv
627d471fca
improve instant prompt usability, update docs and add an option to the wizard to enable it
5 years ago
romkatv
0067e0d4a1
survive emulate sh; fixes #226
5 years ago
romkatv
ef6f90f598
wizard: fix handling for $ZDOTDIR and $HOME with special symbols ("%", "$", etc.)
5 years ago
romkatv
298fa2f325
bug fix: don't attempt to source .p10k.zsh when wizard exits to restart iTerm2
5 years ago
romkatv
d6041f53aa
wizard: make it look better on narrow screens
5 years ago
romkatv
db6d36e09f
wizard: reduce the minimum required terminal width from 80 to 51
5 years ago
romkatv
4bed2dc8c0
wizard: add an option to enable `time` segment
5 years ago
romkatv
b3abfc089a
fix detection of awesome-mapped-fontconfig in the wizard
5 years ago
romkatv
24a5261a39
wizard: enable os_icon for users who like many icons
5 years ago
romkatv
59e96984a1
be more tolerant towards misconfigured locales; users with non-utf-8 locales will still have broken shells but at least p10k will work
5 years ago
romkatv
f62d1d5ae3
speciazled diagnostics for i686; more escapes; more opts
5 years ago
romkatv
a6b572da45
add p10k configure
5 years ago
romkatv
dc8e654165
reduce wizard's minimum terminal size requirements
5 years ago
romkatv
f702fe5b78
add separate options for separators, heads and tails; add more choices if using nerdfont
5 years ago
romkatv
a2a21ae95a
add an option for right frame without left
5 years ago
romkatv
d872930c5c
disable prompt_subst
5 years ago
romkatv
742ddb459f
better diagnostics for small screens
5 years ago
romkatv
fb88f83c92
add p9k_configure
5 years ago
romkatv
4f482aa7e0
better zshrc writing
5 years ago
romkatv
444245ecc6
more wizard options
5 years ago
romkatv
0378a0a54c
cleanup
5 years ago
romkatv
e28d0c37c9
add configure.zsh
5 years ago