Browse Source

shrc: fix showing jobs in PS1

pull/1/head
10sr 11 years ago
parent
commit
2fffa125bc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      shrc

+ 2
- 2
shrc View File

@@ -1065,9 +1065,9 @@ __my_ps1_jobs(){
else
jobs="`jobs | wc -l`"
fi
if test "$1" -ne 0
if test "$jobs" -gt 0
then
echo "[JOBS:$1] "
echo "[JOBS:$jobs] "
fi
}



Loading…
Cancel
Save