mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-24 16:11:57 +00:00
remove "PHP" from php_version
This commit is contained in:
parent
84097d9073
commit
4386b5a6e7
1 changed files with 1 additions and 1 deletions
|
@ -2433,7 +2433,7 @@ prompt_php_version() {
|
|||
_p9k_upglob 'composer.json|*.php' && return
|
||||
fi
|
||||
_p9k_cached_cmd_stdout php --version || return
|
||||
[[ $_p9k__ret == (#b)(*$'\n')#(PHP [[:digit:].]##)* ]] || return
|
||||
[[ $_p9k__ret == (#b)(*$'\n')#'PHP '([[:digit:].]##)* ]] || return
|
||||
local v=$match[2]
|
||||
_p9k_prompt_segment "$0" "fuchsia" "grey93" 'PHP_ICON' 0 '' "${v//\%/%%}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue