Merge pull request #942 from sharkdp/codex/docs-default-shell

Clarify that the default Unix shell is found through PATH
This commit is contained in:
David Peter authored and GitHub committed 2026-10-02 11:54:33 +02:00
commit d75c16d39c
1 file changed
+1 -1
+1 -1
View File
@@ -90,7 +90,7 @@ hyperfine -L compiler g++,clang++ '{compiler} -O2 main.cpp'
### Intermediate shell
By default, commands are executed using a predefined shell (`/bin/sh` on Unix, `cmd.exe` on Windows).
By default, commands are executed using `sh` on Unix (resolved through `PATH`) or `cmd.exe` on Windows.
If you want to use a different shell, you can use the `-S, --shell <SHELL>` option:
```sh
hyperfine --shell zsh 'for i in {1..10000}; do echo test; done'