Skip to content

Commit

Permalink
Stop stepping on REPORTTIME
Browse files Browse the repository at this point in the history
If `$REPORTTIME` is set, leave it alone, don't overwrite it.

Signed-off-by: Joe Block <[email protected]>
  • Loading branch information
unixorn committed Jun 21, 2024
1 parent a20ce88 commit 3ac4a91
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2006-2023 Joseph Block <[email protected]>
# Copyright 2006-2024 Joseph Block <[email protected]>
#
# BSD licensed, see LICENSE.txt
#
Expand Down Expand Up @@ -517,7 +517,8 @@ setopt extended_glob # Enable more powerful glob features

# Long running processes should return time after they complete. Specified
# in seconds.
REPORTTIME=2
REPORTTIME=${REPORTTIME:-2}

TIMEFMT="%U user %S system %P cpu %*Es total"

# How often to check for an update. If you want to override this, the
Expand Down

0 comments on commit 3ac4a91

Please sign in to comment.