|
1 | | -# Generated by Powerlevel10k configuration wizard on 2024-06-14 at 08:58 CEST. |
| 1 | +# Generated by Powerlevel10k configuration wizard on 2024-12-24 at 14:44 CET. |
2 | 2 | # Based on romkatv/powerlevel10k/config/p10k-rainbow.zsh, checksum 58020. |
3 | | -# Wizard options: powerline, rainbow, unicode, 24h time, angled separators, sharp heads, |
4 | | -# sharp tails, 2 lines, solid, full frame, light-ornaments, sparse, concise, |
5 | | -# transient_prompt, instant_prompt=verbose. |
| 3 | +# Wizard options: nerdfont-complete + powerline, small icons, rainbow, unicode, |
| 4 | +# 12h time, angled separators, sharp heads, sharp tails, 2 lines, solid, full frame, |
| 5 | +# dark-ornaments, sparse, few icons, concise, instant_prompt=verbose. |
6 | 6 | # Type `p10k configure` to generate another config. |
7 | 7 | # |
8 | 8 | # Config for Powerlevel10k with powerline prompt style with colorful background. |
|
114 | 114 | ) |
115 | 115 |
|
116 | 116 | # Defines character set used by powerlevel10k. It's best to let `p10k configure` set it for you. |
117 | | - typeset -g POWERLEVEL9K_MODE=powerline |
| 117 | + typeset -g POWERLEVEL9K_MODE=nerdfont-complete |
118 | 118 | # When set to `moderate`, some icons will have an extra space after them. This is meant to avoid |
119 | 119 | # icon overlap when using non-monospace fonts. When set to `none`, spaces are not added. |
120 | 120 | typeset -g POWERLEVEL9K_ICON_PADDING=none |
|
137 | 137 |
|
138 | 138 | # Connect left prompt lines with these symbols. You'll probably want to use the same color |
139 | 139 | # as POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND below. |
140 | | - typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%242F╭─' |
141 | | - typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX='%242F├─' |
142 | | - typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX='%242F╰─' |
| 140 | + typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='%240F╭─' |
| 141 | + typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX='%240F├─' |
| 142 | + typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX='%240F╰─' |
143 | 143 | # Connect right prompt lines with these symbols. |
144 | | - typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_SUFFIX='%242F─╮' |
145 | | - typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_SUFFIX='%242F─┤' |
146 | | - typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_SUFFIX='%242F─╯' |
| 144 | + typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_SUFFIX='%240F─╮' |
| 145 | + typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_SUFFIX='%240F─┤' |
| 146 | + typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_SUFFIX='%240F─╯' |
147 | 147 |
|
148 | 148 | # Filler between left and right prompt on the first prompt line. You can set it to ' ', '·' or |
149 | 149 | # '─'. The last two make it easier to see the alignment between left and right prompt and to |
|
155 | 155 | if [[ $POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_CHAR != ' ' ]]; then |
156 | 156 | # The color of the filler. You'll probably want to match the color of POWERLEVEL9K_MULTILINE |
157 | 157 | # ornaments defined above. |
158 | | - typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=242 |
| 158 | + typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_GAP_FOREGROUND=240 |
159 | 159 | # Start filler from the edge of the screen if there are no left segments on the first line. |
160 | 160 | typeset -g POWERLEVEL9K_EMPTY_LINE_LEFT_PROMPT_FIRST_SEGMENT_END_SYMBOL='%{%}' |
161 | 161 | # End filler on the edge of the screen if there are no right segments on the first line. |
|
218 | 218 | typeset -g POWERLEVEL9K_DIR_FOREGROUND=254 |
219 | 219 | # If directory is too long, shorten some of its segments to the shortest possible unique |
220 | 220 | # prefix. The shortened directory can be tab-completed to the original. |
221 | | - typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_last |
| 221 | + typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique |
222 | 222 | # Replace removed segment suffixes with this symbol. |
223 | 223 | typeset -g POWERLEVEL9K_SHORTEN_DELIMITER= |
224 | 224 | # Color of the shortened directory segments. |
|
291 | 291 |
|
292 | 292 | # The default icon shown next to non-writable and non-existent directories when |
293 | 293 | # POWERLEVEL9K_DIR_SHOW_WRITABLE is set to v3. |
294 | | - typeset -g POWERLEVEL9K_LOCK_ICON='∅' |
| 294 | + # typeset -g POWERLEVEL9K_LOCK_ICON='⭐' |
295 | 295 |
|
296 | 296 | # POWERLEVEL9K_DIR_CLASSES allows you to specify custom icons and colors for different |
297 | 297 | # directories. It must be an array with 3 * N elements. Each triplet consists of: |
|
558 | 558 | # Don't show the number of background jobs. |
559 | 559 | typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false |
560 | 560 | # Custom icon. |
561 | | - typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION='≡' |
| 561 | + # typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION='⭐' |
562 | 562 |
|
563 | 563 | #######################[ direnv: direnv status (https://direnv.net/) ]######################## |
564 | 564 | # Direnv color. |
|
733 | 733 | typeset -g POWERLEVEL9K_NORDVPN_{DISCONNECTED,CONNECTING,DISCONNECTING}_CONTENT_EXPANSION= |
734 | 734 | typeset -g POWERLEVEL9K_NORDVPN_{DISCONNECTED,CONNECTING,DISCONNECTING}_VISUAL_IDENTIFIER_EXPANSION= |
735 | 735 | # Custom icon. |
736 | | - typeset -g POWERLEVEL9K_NORDVPN_VISUAL_IDENTIFIER_EXPANSION='nord' |
| 736 | + # typeset -g POWERLEVEL9K_NORDVPN_VISUAL_IDENTIFIER_EXPANSION='⭐' |
737 | 737 |
|
738 | 738 | #################[ ranger: ranger shell (https://github.com/ranger/ranger) ]################## |
739 | 739 | # Ranger shell color. |
740 | 740 | typeset -g POWERLEVEL9K_RANGER_FOREGROUND=3 |
741 | 741 | typeset -g POWERLEVEL9K_RANGER_BACKGROUND=0 |
742 | 742 | # Custom icon. |
743 | | - typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION='▲' |
| 743 | + # typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION='⭐' |
744 | 744 |
|
745 | 745 | ######################[ nnn: nnn shell (https://github.com/jarun/nnn) ]####################### |
746 | 746 | # Nnn shell color. |
|
1339 | 1339 | '*' DEFAULT) |
1340 | 1340 | typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=7 |
1341 | 1341 | typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_BACKGROUND=5 |
1342 | | - typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='○' |
| 1342 | + # typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='⭐' |
1343 | 1343 |
|
1344 | 1344 | # Use POWERLEVEL9K_KUBECONTEXT_CONTENT_EXPANSION to specify the content displayed by kubecontext |
1345 | 1345 | # segment. Parameter expansions are very flexible and fast, too. See reference: |
|
1437 | 1437 | typeset -g POWERLEVEL9K_AWS_EB_ENV_FOREGROUND=2 |
1438 | 1438 | typeset -g POWERLEVEL9K_AWS_EB_ENV_BACKGROUND=0 |
1439 | 1439 | # Custom icon. |
1440 | | - typeset -g POWERLEVEL9K_AWS_EB_ENV_VISUAL_IDENTIFIER_EXPANSION='eb' |
| 1440 | + # typeset -g POWERLEVEL9K_AWS_EB_ENV_VISUAL_IDENTIFIER_EXPANSION='⭐' |
1441 | 1441 |
|
1442 | 1442 | ##########[ azure: azure account name (https://docs.microsoft.com/en-us/cli/azure) ]########## |
1443 | 1443 | # Show azure only when the command you are typing invokes one of these tools. |
|
1447 | 1447 | typeset -g POWERLEVEL9K_AZURE_FOREGROUND=7 |
1448 | 1448 | typeset -g POWERLEVEL9K_AZURE_BACKGROUND=4 |
1449 | 1449 | # Custom icon. |
1450 | | - typeset -g POWERLEVEL9K_AZURE_VISUAL_IDENTIFIER_EXPANSION='az' |
| 1450 | + # typeset -g POWERLEVEL9K_AZURE_VISUAL_IDENTIFIER_EXPANSION='⭐' |
1451 | 1451 |
|
1452 | 1452 | ##########[ gcloud: google cloud account and project (https://cloud.google.com/) ]########### |
1453 | 1453 | # Show gcloud only when the command you are typing invokes one of these tools. |
|
1620 | 1620 | # Show battery in yellow when it's discharging. |
1621 | 1621 | typeset -g POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND=3 |
1622 | 1622 | # Battery pictograms going from low to high level of charge. |
1623 | | - typeset -g POWERLEVEL9K_BATTERY_STAGES=('%K{232}▁' '%K{232}▂' '%K{232}▃' '%K{232}▄' '%K{232}▅' '%K{232}▆' '%K{232}▇' '%K{232}█') |
| 1623 | + typeset -g POWERLEVEL9K_BATTERY_STAGES='\uf58d\uf579\uf57a\uf57b\uf57c\uf57d\uf57e\uf57f\uf580\uf581\uf578' |
1624 | 1624 | # Don't show the remaining time to charge/discharge. |
1625 | 1625 | typeset -g POWERLEVEL9K_BATTERY_VERBOSE=false |
1626 | 1626 | typeset -g POWERLEVEL9K_BATTERY_BACKGROUND=0 |
|
1657 | 1657 | typeset -g POWERLEVEL9K_TIME_FOREGROUND=0 |
1658 | 1658 | typeset -g POWERLEVEL9K_TIME_BACKGROUND=7 |
1659 | 1659 | # Format for the current time: 09:51:02. See `man 3 strftime`. |
1660 | | - typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}' |
| 1660 | + typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%I:%M:%S %p}' |
1661 | 1661 | # If set to true, time will update when you hit enter. This way prompts for the past |
1662 | 1662 | # commands will contain the start times of their commands as opposed to the default |
1663 | 1663 | # behavior where they contain the end times of their preceding commands. |
|
1708 | 1708 | # - always: Trim down prompt when accepting a command line. |
1709 | 1709 | # - same-dir: Trim down prompt when accepting a command line unless this is the first command |
1710 | 1710 | # typed after changing current working directory. |
1711 | | - typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=always |
| 1711 | + typeset -g POWERLEVEL9K_TRANSIENT_PROMPT=off |
1712 | 1712 |
|
1713 | 1713 | # Instant prompt mode. |
1714 | 1714 | # |
|
0 commit comments