Date: Thu, 2 Aug 2001 14:46:10 -0400 From: parv <parv_@yahoo.com> To: f-q <freebsd-questions@freebsd.org> Subject: jobs count in ksh93 PS1 Message-ID: <20010802144610.A21275@moo.holy.cow>
next in thread | raw e-mail | index | archive | help
i was wondering if there is a better way to put jobs count, in PS1 in ksh93, than the following (partial PS1 set in ~/.kshrc which is "ENV" in ~/.profile)... # PS1="jobs: '$(jobs | wc -l | xargs printf %-s)'" # export PS1 ps: for the zealous kind, i know that bash has built-in "\j" for this. -- so, do you like word games or scrabble? - parv To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010802144610.A21275>