1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-18 05:40:07 +00:00

Add an Identifier to version.

This commit is contained in:
Dominik Ritter 2015-10-01 17:35:11 +02:00
parent 5d314bec8e
commit c81863e234

View file

@ -485,7 +485,7 @@ prompt_rust_version() {
rust_version=$(rustc --version 2>&1 | grep -oe "^rustc\s*[^ ]*" | grep -o '[0-9.a-z\\\-]*$') rust_version=$(rustc --version 2>&1 | grep -oe "^rustc\s*[^ ]*" | grep -o '[0-9.a-z\\\-]*$')
if [[ -n "$rust_version" ]]; then if [[ -n "$rust_version" ]]; then
"$1_prompt_segment" "$0" "208" "$DEFAULT_COLOR" "$rust_version" "$1_prompt_segment" "$0" "208" "$DEFAULT_COLOR" "Rust $rust_version"
fi fi
} }
# RSpec test ratio # RSpec test ratio