mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
Added the "visual identifiers" concept to the ram
segment.
This commit is contained in:
parent
bd5955221e
commit
b738ba900c
1 changed files with 2 additions and 2 deletions
|
@ -520,7 +520,7 @@ prompt_ram() {
|
|||
base=K
|
||||
fi
|
||||
|
||||
rendition+="$(print_icon 'RAM_ICON') $(printSizeHumanReadable "$ramfree" $base) "
|
||||
rendition+="$(printSizeHumanReadable "$ramfree" $base) "
|
||||
;;
|
||||
swap_used)
|
||||
if [[ "$OS" == "OSX" ]]; then
|
||||
|
@ -543,7 +543,7 @@ prompt_ram() {
|
|||
esac
|
||||
done
|
||||
|
||||
"$1_prompt_segment" "$0" "yellow" "$DEFAULT_COLOR" "${rendition% }"
|
||||
"$1_prompt_segment" "$0" "yellow" "$DEFAULT_COLOR" "${rendition% }" 'RAM_ICON'
|
||||
}
|
||||
|
||||
# Node version from NVM
|
||||
|
|
Loading…
Reference in a new issue