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:
romkatv 2020-03-13 10:34:50 +01:00
commit e4e165f6d7
8 changed files with 41 additions and 238 deletions

View file

@ -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