mirror of https://github.com/mickael-menu/zk
Add `tool.shell` configuration key (#302)
parent
ba611e1c1e
commit
a8d1db4c57
@ -0,0 +1,14 @@
|
||||
# Setting your default shell
|
||||
|
||||
This is *currently* not supported on Windows (that defaults always to `cmd`).
|
||||
|
||||
You can customize which shell to use to run aliases and commands either from the [configuration file](config.md) or environment variables. In order of precedence, `zk` will use:
|
||||
|
||||
1. `ZK_SHELL` environment variable
|
||||
2. `shell` configuration property
|
||||
```toml
|
||||
[tool]
|
||||
shell = "/bin/bash"
|
||||
```
|
||||
3. `SHELL` environment variable
|
||||
4. `sh` as fallback
|
Loading…
Reference in New Issue