Commit Graph

38 Commits (bd15598665ce8d795e074cc7f0f21faa667d5b02)

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