diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2020-02-15 16:38:15 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2020-02-15 16:38:15 +0300 |
commit | 4386b5a6e77486d22623c0312a1491342f1af5b0 (patch) | |
tree | 6c31d72ae868571ae6e348f0f06fd5a0d617d9ba /internal/p10k.zsh | |
parent | 84097d907388b37d24b0a3164fab7cfeb68cef4e (diff) |
remove "PHP" from php_version
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r-- | internal/p10k.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh index 7e9e0ad2..c6a9c94a 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -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//\%/%%}" } |