跳转至

Shell

用于运行命令的程序,默认为 /bin/bash。命令以 bash -c "your command",因此管道和重定向工作。

您可以在配置文件中通过 shell 键全局更改 shell。

选择 shell

Root of config.yaml
shell: /bin/bash

每个函数都通过此 shell 运行命令。

配置

对于 shell 字段和相关根选项,请参见 配置 → 根字段。

相关