This website works better with JavaScript.
Home
Explore
Help
Sign In
10sr
/
dotfiles-mirror
mirror of
https://github.com/10sr/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
shrc: fix showing jobs in PS1
pull/1/head
10sr
11 years ago
parent
4d46f6edda
commit
2fffa125bc
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
}
Write
Preview
Loading…
Cancel
Save