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

unset DEFAULT_USER in generated .p10k.zsh; see #640

This commit is contained in:
romkatv 2020-04-20 17:27:59 +02:00
parent 993203a308
commit 681f504d8a
6 changed files with 6 additions and 6 deletions

View file

@ -17,7 +17,7 @@
# Unset all configuration options. This allows you to apply configuration changes without # Unset all configuration options. This allows you to apply configuration changes without
# restarting zsh. Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`. # restarting zsh. Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`.
unset -m 'POWERLEVEL9K_*' unset -m 'POWERLEVEL9K_*|DEFAULT_USER'
# Zsh >= 5.1 is required. # Zsh >= 5.1 is required.
autoload -Uz is-at-least && is-at-least 5.1 || return autoload -Uz is-at-least && is-at-least 5.1 || return

View file

@ -17,7 +17,7 @@
# Unset all configuration options. This allows you to apply configuration changes without # Unset all configuration options. This allows you to apply configuration changes without
# restarting zsh. Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`. # restarting zsh. Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`.
unset -m 'POWERLEVEL9K_*' unset -m 'POWERLEVEL9K_*|DEFAULT_USER'
# Zsh >= 5.1 is required. # Zsh >= 5.1 is required.
autoload -Uz is-at-least && is-at-least 5.1 || return autoload -Uz is-at-least && is-at-least 5.1 || return

View file

@ -17,7 +17,7 @@
# Unset all configuration options. This allows you to apply configuration changes without # Unset all configuration options. This allows you to apply configuration changes without
# restarting zsh. Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`. # restarting zsh. Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`.
unset -m 'POWERLEVEL9K_*' unset -m 'POWERLEVEL9K_*|DEFAULT_USER'
# Zsh >= 5.1 is required. # Zsh >= 5.1 is required.
autoload -Uz is-at-least && is-at-least 5.1 || return autoload -Uz is-at-least && is-at-least 5.1 || return

View file

@ -26,7 +26,7 @@
emulate -L zsh emulate -L zsh
# Unset all configuration options. # Unset all configuration options.
unset -m 'POWERLEVEL9K_*' unset -m 'POWERLEVEL9K_*|DEFAULT_USER'
# Zsh >= 5.1 is required. # Zsh >= 5.1 is required.
autoload -Uz is-at-least && is-at-least 5.1 || return autoload -Uz is-at-least && is-at-least 5.1 || return

View file

@ -17,7 +17,7 @@
# Unset all configuration options. This allows you to apply configuration changes without # Unset all configuration options. This allows you to apply configuration changes without
# restarting zsh. Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`. # restarting zsh. Edit ~/.p10k.zsh and type `source ~/.p10k.zsh`.
unset -m 'POWERLEVEL9K_*' unset -m 'POWERLEVEL9K_*|DEFAULT_USER'
# Zsh >= 5.1 is required. # Zsh >= 5.1 is required.
autoload -Uz is-at-least && is-at-least 5.1 || return autoload -Uz is-at-least && is-at-least 5.1 || return

View file

@ -21,7 +21,7 @@
emulate -L zsh emulate -L zsh
# Unset all configuration options. # Unset all configuration options.
unset -m 'POWERLEVEL9K_*' unset -m 'POWERLEVEL9K_*|DEFAULT_USER'
# Zsh >= 5.1 is required. # Zsh >= 5.1 is required.
autoload -Uz is-at-least && is-at-least 5.1 || return autoload -Uz is-at-least && is-at-least 5.1 || return