1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 20:30:07 +00:00
Commit graph

212 commits

Author SHA1 Message Date
Roman Perepelitsa
0af598cbed wizard: add a screen for detecting faulty terminals that render glyphs such as U+F0001 as wide (e.g., Windows Terminal) 2023-05-04 11:50:14 +02:00
Roman Perepelitsa
ce0bee979b wizard: check for unicode 9 support before asking about U+F0737 2023-05-04 10:40:52 +02:00
Roman Perepelitsa
bbea8d2d06 use U+F327 (Kali Linux logo) only with POWERLEVEL9K_MODE=nerdfont-v3 (#2281) 2023-04-24 10:39:39 +02:00
Lucas Larson
954f38d589
use less surprising input for clock option
for the three clock options (no clock, a 12-hour clock, or a 24-hour
clock), use the first character of the option as the input to
fix #2266.

This pull request is a reissue of – and supersession of – #2267,
which was pushed on a branch with non-ASCII characters in the name.

Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
2023-04-15 14:06:47 -04:00
Roman Perepelitsa
b474978b2e wizard: prefer POWERLEVEL9K_MODE=nerdfont-complete over nerdfont-v3
Apparently Windows Terminal has a bug. To reproduce:

    print -P '\UF0737%K{red} %k'

The expected output:

    x_

Here 'x' signifies any glyph of width 1, and '_' signifies a red
block.

The actual output:

    x _

Notice the space.

The output of the following two commands is as expected:

    print -P '\UFC35%K{red} %k'
    print -P '\UFC35x'
2023-04-03 14:23:14 +02:00
Roman Perepelitsa
8167383665 wizard bug fix: offer advanced powerline options when using nerdfont-v3 2023-04-03 12:34:11 +02:00
Roman Perepelitsa
d031df752b wizard: detect POWERLEVEL9K_MODE=nerdfont-v3
This is Step 2 of https://github.com/romkatv/powerlevel10k/issues/2217#issuecomment-1493271666.
2023-04-02 14:22:01 +02:00
Roman Perepelitsa
6314edf35c wizard: rename capability "arrow" to "quotes" 2023-04-02 14:19:00 +02:00
Roman Perepelitsa
6c82236d6f nerdfonts-v3: add an icon for EndevourOS (#1933) 2023-04-02 13:34:20 +02:00
Roman Perepelitsa
6609767abd don't invoke mktemp if it doesn't exist 2022-11-28 12:14:48 +01:00
Roman Perepelitsa
8d47270e8c don't invoke mktemp if it doesn't exist 2022-11-27 15:37:04 +01:00
Roman Perepelitsa
8c55eb4fa3 wizad: add a hint pointing to the frame when asking for frame color 2022-11-14 14:26:12 +01:00
Roman Perepelitsa
5ee784787f fix a bug introduced in cf1b586515 2022-10-05 11:26:40 +02:00
Roman Perepelitsa
cf1b586515 fix bugs introduced in 843dcf0167 2022-10-05 10:23:04 +02:00
Roman Perepelitsa
843dcf0167 survive broken FPATH (#10 2022-10-02 18:34:25 +02:00
Roman Perepelitsa
e72264e01c don't trust cnorm as it's incorrect in some combinations of terminals and terminfo (#1699) 2022-07-21 13:54:51 +02:00
Roman Perepelitsa
d6f8c47761 survive broken $TMPDIR 2022-01-26 15:03:22 +01:00
Roman Perepelitsa
e1c52e08d4 add an icon for amazon linux (#1706) 2022-01-06 12:37:20 +01:00
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
2021-11-15 07:26:51 +01:00
Roman Perepelitsa
85e31542dd wizard: underline paths instead of bolding in the success message 2021-10-27 16:31:33 +02:00
Charles Timko
0ce9df66d2
Add RHEL to the OS Icon lists (#1581)
* Add RHEL to the OS Icon lists
2021-09-22 19:49:39 +02:00
Roman Perepelitsa
0745592886 fix a spello in comments in the generated .p10k.zsh 2021-09-13 09:05:43 +02:00
Roman Perepelitsa
4f3d2ffe72 new prompt segment: toolbox (https://github.com/containers/toolbox) #1560 2021-09-10 13:21:31 +02:00
Osman Tas
61c63eea6b
Update os icon at zsh.exe on git for windows (#1180)
* Update os icon for windows

Windows icon is not shown on git for windows zsh.exe
Same update also added to wizards.zsh file.

* Update os icon for windows

Windows icon is not shown on git for windows zsh.exe
Same update also added to p10k.zsh file.
2020-12-23 17:58:10 +01:00
Roman Perepelitsa
e8afa806ce wizard: allow uppercase letters in choices 2020-12-16 16:07:00 +01:00
Roman Perepelitsa
4050729e48 wizard: after installing the font on iTerm2, ask for system reboot if iTerm2 session restoration is enabled 2020-11-26 07:19:35 +01:00
Roman Perepelitsa
98a8ec6f31 prompt_length cleanup 2020-11-25 16:36:03 +01:00
Roman Perepelitsa
de0e022177 typo 2020-10-21 16:24:38 +02:00
Roman Perepelitsa
f0159ca642 better wizard intro when installing z4h 2020-10-21 16:23:15 +02:00
Roman Perepelitsa
b1aeeda6a8 make it more difficult to incorrectly restart iTerm2 after installing Meslo 2020-10-19 16:36:25 +02:00
Roman Perepelitsa
a124a71032 typo 2020-10-19 14:51:01 +02:00
Roman Perepelitsa
fb2805e5ab wizard: suppress the into message if z4h would print its welcome 2020-10-19 14:46:22 +02:00
Roman Perepelitsa
967e845819 wizard: suppress the outro message if z4h would print its welcome 2020-10-19 14:39:01 +02:00
Roman Perepelitsa
3aec0c6b36 make configuration options work when using Turkish locale (#1036) 2020-10-05 14:46:48 +02:00
Roman Perepelitsa
f14b58e44f wizard: recognize source $POWERLEVEL9K_CONFIG_FILE in .zshrc 2020-09-15 19:50:11 +02:00
Roman Perepelitsa
a3727dcaef wizard: don't refuse to start if ZDOTDIR is not writable; see #987 2020-08-30 13:40:12 +02:00
Roman Perepelitsa
f2bf019758 wizard: simplify instant prompt screen; make sure all screens work with 47x14 terminal size 2020-08-27 09:57:12 +02:00
Roman Perepelitsa
525e2545db wizard: when using z4h, automatically enable instant prompt in quiet mode 2020-08-20 14:59:07 +02:00
Roman Perepelitsa
7a114ad6fb detect artix linux for the sake of displaying os logo; see #898 2020-07-19 11:26:19 +02:00
Roman Perepelitsa
a88e11f54b disable background transparency in iTerm2 2020-06-28 11:11:27 +02:00
Roman Perepelitsa
db6f909958 suppress the expected error message from PlistBuddy 2020-06-28 10:45:46 +02:00
Roman Perepelitsa
801bfbb294 jump straight to ascii if TERM is "dump" or "linux" 2020-05-31 11:49:03 +02:00
romkatv
7d35c7ebb8 remove execute permission from wizard.zsh 2020-05-26 11:31:11 +02:00
romkatv
d9b90027ba disable tty echo for the whole duration of wizard 2020-05-14 20:26:16 +02:00
romkatv
2841cecaa9 fix ask_python screen in the wizard 2020-05-14 20:19:09 +02:00
romkatv
accbe293cb wizard: print a message when aborted with ctrl-c 2020-05-14 11:24:53 +02:00
romkatv
459af1f238 allow dir styling based on the pair: $PWD and whether it's writable
fixes #678
2020-05-02 13:36:40 +02:00
romkatv
1b6c24e99e wizard bug fixes: screen redraws, spurious errors, frame selection
fixes #668
2020-04-28 09:55:41 +02:00
romkatv
5baecd66db wizard now reacts to terminal size changes and can function at much smaller terminal dimensions; fixes #649 2020-04-26 19:32:46 +02:00
romkatv
c71606cd83 assume no zshrc changes are required if using z4h 2020-04-04 19:41:34 +02:00