1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 21:40:08 +00:00

swapped colors for virtualization detection, black on yellow was pain for the eyes

This commit is contained in:
Christian Rebischke 2017-05-21 15:04:24 +02:00
parent 0b2483cf6d
commit e0a6246ecc
No known key found for this signature in database
GPG key ID: D21461E3DFE2060D

View file

@ -790,12 +790,12 @@ prompt_detect_virt() {
if [[ "$virt" == "none" ]]; then if [[ "$virt" == "none" ]]; then
if [[ "$(ls -di / | grep -o 2)" != "2" ]]; then if [[ "$(ls -di / | grep -o 2)" != "2" ]]; then
virt="chroot" virt="chroot"
"$1_prompt_segment" "$0" "$2" "yellow" "$DEFAULT_COLOR" "$virt" "$1_prompt_segment" "$0" "$2" "$DEFAULT_COLOR" "yellow" "$virt"
else else
; ;
fi fi
else else
"$1_prompt_segment" "$0" "$2" "yellow" "$DEFAULT_COLOR" "$virt" "$1_prompt_segment" "$0" "$2" "$DEFAULT_COLOR" "yellow" "$virt"
fi fi
} }