Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
time(1) has no effect when used on a built-in
- X-seq: zsh-workers 53928
- From: avidseeker <avidseeker@xxxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxx>
- Subject: time(1) has no effect when used on a built-in
- Date: Thu, 04 Sep 2025 21:53:01 +0200
- Archived-at: <https://zsh.org/workers/53928>
- List-id: <zsh-workers.zsh.org>
Not sure if this is intentional, but looks like a bug. Compare with bash
output:
```
$ zsh -c 'time echo yes'
yes
$ bash -c 'time echo yes'
yes
real 0m0.000s
user 0m0.000s
sys 0m0.000s
$ zsh -c 'time command -v yes'
/usr/bin/yes
$ bash -c 'time command -v yes'
/usr/bin/yes
real 0m0.000s
user 0m0.000s
sys 0m0.000s
```
Avid
Messages sorted by:
Reverse Date,
Date,
Thread,
Author