aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 3a90941e..e61be29f 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -298,7 +298,7 @@ right_prompt_segment() {
function _p9k_python_version() {
_p9k_cached_cmd_stdout_stderr python --version || return
emulate -L zsh && setopt extended_glob
- [[ $_P9K_RETVAL == (#b)Python\ ([[:digit:]]##.[[:digit:]]##)* ]] && _P9K_RETVAL=$match[1]
+ [[ $_P9K_RETVAL == (#b)Python\ ([[:digit:].]##)* ]] && _P9K_RETVAL=$match[1]
}
################################################################