mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Clarify that the default Unix shell is found through PATH
This commit is contained in:
1 parent
1f5a2ff70c
commit
9b97116caa
1 file changed
+1
-1
@@ -89,7 +89,7 @@ hyperfine -L compiler gcc,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'
|
||||
|
||||
Reference in new issue
Block a user