mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-20 22:31:57 +00:00
better diagnostics for small screens
This commit is contained in:
parent
deb0093a02
commit
742ddb459f
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ function _p9k_can_configure() {
|
||||||
[[ ! -e $__p9k_zshrc || -w $__p9k_zshrc ]] ||
|
[[ ! -e $__p9k_zshrc || -w $__p9k_zshrc ]] ||
|
||||||
$0_error "$__p9k_zshrc_u is not writable"
|
$0_error "$__p9k_zshrc_u is not writable"
|
||||||
(( LINES >= __p9k_wizard_lines && COLUMNS >= __p9k_wizard_columns )) ||
|
(( LINES >= __p9k_wizard_lines && COLUMNS >= __p9k_wizard_columns )) ||
|
||||||
$0_error "terminal size too small"
|
$0_error "terminal size too small; must be at least $__p9k_wizard_columns x $__p9k_wizard_lines"
|
||||||
} always {
|
} always {
|
||||||
unfunction $0_error
|
unfunction $0_error
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue