1
0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-12 19:18:28 +02:00

fixing segment call for new state implementation in prompt_load

This commit is contained in:
rjorgenson 2016-01-15 21:52:08 -07:00
parent 817cdf98a1
commit 3767397711

View File

@ -519,7 +519,7 @@ prompt_load() {
current_state="normal"
fi
"$1_prompt_segment" "${0}${current_state}" "$2" "${load_states[$current_state]}" "$DEFAULT_COLOR" "$load_avg_5min" 'LOAD_ICON'
"$1_prompt_segment" "${0}_${current_state}" "$2" "${load_states[$current_state]}" "$DEFAULT_COLOR" "$load_avg_5min" 'LOAD_ICON'
}
# Node version