~ubuntu-branches/debian/wheezy/byobu/wheezy

« back to all changes in this revision

Viewing changes to usr/lib/byobu/processes

  • Committer: Package Import Robot
  • Author(s): Alexander Chernyakhovsky
  • Date: 2012-03-12 00:57:42 UTC
  • mfrom: (0.6.1) (0.1.176 precise)
  • Revision ID: package-import@ubuntu.com-20120312005742-barjtu40fv60w64m
Tags: 5.16-1
Syncing from Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
__processes() {
27
27
        local count=$(ls -d /proc/[0-9]* 2>/dev/null| wc -l)
 
28
        [ -n "$count" ] || return
28
29
        color b y w; printf "%s" "$count"; color -; color y w; printf "&"; color --
29
30
}
30
31