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

pull/648/head
romkatv 5 years ago
parent 993203a308
commit 681f504d8a

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

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

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

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

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

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

Loading…
Cancel
Save