DEV Community

Discussion on: Using nushell's math mode in zsh

Collapse
 
vonheikemen profile image
Heiker

For the people at home that don't want to use nushell, maybe you can try with bc.

zcalc() {
  bc <<< "$@"
}
Enter fullscreen mode Exit fullscreen mode

If you are interested in nushell and want to see an example config for that shell, here is my config.toml.