mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
simplify configs
- use POWERLEVEL9K_ICON_PADDING instead of POWERLEVEL9K_VISUAL_IDENTIFIER_EXPANSION to customize padding after icons - remove reliance on UTF-8 locale when the config is being sourced
This commit is contained in:
parent
0d662be14c
commit
e4e165f6d7
8 changed files with 41 additions and 238 deletions
|
|
@ -25,11 +25,12 @@
|
|||
() {
|
||||
emulate -L zsh
|
||||
|
||||
autoload -Uz is-at-least && is-at-least 5.1 || return
|
||||
|
||||
# Unset all configuration options.
|
||||
unset -m 'POWERLEVEL9K_*'
|
||||
|
||||
# Zsh >= 5.1 is required.
|
||||
autoload -Uz is-at-least && is-at-least 5.1 || return
|
||||
|
||||
# Prompt colors.
|
||||
local grey=242
|
||||
local red=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue