diff options
author | v1rgul <v1rgul.42@gmail.com> | 2016-01-22 03:56:43 +0300 |
---|---|---|
committer | v1rgul <v1rgul.42@gmail.com> | 2016-01-22 03:56:43 +0300 |
commit | 29b346930b8d214b2fe5ddd53f574883958ae70c (patch) | |
tree | ee15a2c31b4f9df1624d4689c8750caa18ab050e /powerlevel9k.zsh-theme | |
parent | 11d00ce71316153f7cf2dabf5a40b0f24064d9e8 (diff) |
fix wc glitch on OSX
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index eba94629..f464e10e 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -292,7 +292,7 @@ prompt_aws() { # Segment to indicate background jobs with an icon. set_default POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE true 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 local background_jobs_number_print="" if [[ POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE ]] && [[ background_jobs_number -gt 1 ]]; then |