mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-01-22 22:45:37 +01:00
add p10k configure
This commit is contained in:
parent
070697a914
commit
a6b572da45
5 changed files with 18 additions and 8 deletions
|
|
@ -14,7 +14,7 @@ function _p9k_can_configure() {
|
|||
setopt err_return extended_glob no_prompt_{bang,subst} prompt_{cr,percent,sp}
|
||||
[[ $1 == '-q' ]] && local -i q=1 || local -i q=0
|
||||
function $0_error() {
|
||||
(( q )) || print -P "%1F[ERROR]%f %Bp9k_configure%b: $1" >&2
|
||||
(( q )) || print -P "%1F[ERROR]%f %Bp10k configure%b: $1" >&2
|
||||
return 1
|
||||
}
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue