ZSH plugin to report the status of commands including return code and time taken (duration).
This plugin will report the return code of the previously run command if it returns nonzero. It will report the time taken to run the command if its greater than the duration threshold (ZSH_CMD_STATUS_DURATION_THRESHOLD).
> sleep 11 && false
returned 1 & took 11s
> grep
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
returned 2
Option env var Default Description ZSH_CMD_STATUS_DURATION_THRESHOLD 10 time in seconds under which duration should not be reported About
ZSH plugin to report the status of commands including return code and time taken.
Resources License Stars Watchers ForksYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4