mstormo / reporttime

Bash support for ZSH-like REPORTTIME

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

reporttime.bash -- Bash support for ZSH-like REPORTTIME

Description
-----------
This script tries to provide REPORTTIME support in Bash.
It will base its timings on wall time, rather than CPU time, which
'time' uses, but that's normally what people want anyways.

Features
--------
  - Automatically displays timings for commands executing longer
    than REPORTTIME seconds
  - Easy to use variables for fancy Bash prompts ('rttime',
    'rthours', 'rtmins' etc)
  - Command for displaying how long the last command executed
    ('timelast')
  - Customizable precision of timings

License
-------
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; see the file COPYING.  If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.

About

Bash support for ZSH-like REPORTTIME


Languages

Language:Shell 100.0%