mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-14 09:00:07 +00:00
Syntax fix.
This commit is contained in:
parent
657a097ef0
commit
c379cf2657
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ prompt_background_jobs() {
|
||||||
local background_jobs_number=${$(jobs -l | wc -l)// /}
|
local background_jobs_number=${$(jobs -l | wc -l)// /}
|
||||||
if [[ background_jobs_number -gt 0 ]]; then
|
if [[ background_jobs_number -gt 0 ]]; then
|
||||||
local background_jobs_number_print=""
|
local background_jobs_number_print=""
|
||||||
if [[ POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE ]] && [[ background_jobs_number -gt 1 ]]; then
|
if [[ "$POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE" == "true" ]] && [[ "$background_jobs_number" -gt 1 ]]; then
|
||||||
background_jobs_number_print="$background_jobs_number"
|
background_jobs_number_print="$background_jobs_number"
|
||||||
fi
|
fi
|
||||||
"$1_prompt_segment" "$0" "$2" "$DEFAULT_COLOR" "cyan" "$background_jobs_number_print" 'BACKGROUND_JOBS_ICON'
|
"$1_prompt_segment" "$0" "$2" "$DEFAULT_COLOR" "cyan" "$background_jobs_number_print" 'BACKGROUND_JOBS_ICON'
|
||||||
|
|
Loading…
Reference in a new issue