mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2026-03-02 03:49:25 +00:00
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user