mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
parent
249807071e
commit
73b3bd0ea3
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
function __bobthefish_cmd_duration -S -d 'Show command duration'
|
function __bobthefish_cmd_duration -S -d 'Show command duration'
|
||||||
[ "$theme_display_cmd_duration" = "no" ]; and return
|
[ "$theme_display_cmd_duration" = "no" ]; and return
|
||||||
[ "$CMD_DURATION" -lt 100 ]; and return
|
[ -z "$CMD_DURATION" -o "$CMD_DURATION" -lt 100 ]; and return
|
||||||
|
|
||||||
if [ "$CMD_DURATION" -lt 5000 ]
|
if [ "$CMD_DURATION" -lt 5000 ]
|
||||||
echo -ns $CMD_DURATION 'ms'
|
echo -ns $CMD_DURATION 'ms'
|
||||||
|
Loading…
Reference in New Issue
Block a user