Closed flavono123 closed 7 months ago
Wrap in sh
if you want to substitute, we're not shell.
didnt get your words, even "$(sh -c 'brew --prefix')/bin/bash"
is not working
Run with sh -c
and pass $()
to it as arg.
i see but
program as sh -c "$(brew --prefix)/bin/bash --login"
or following are not working:
[shell]
args = ["$(brew --prefix)/bin/bash", "--login"]
program = "sh -c "
-c
is also an argument, because the program is sh
.
[shell]
args = ["-c", "$(brew --prefix)/bin/bash --login"]
program = "sh"
thank you @kchibisov. this is working. i guess it runs over zsh but has a compatibility btw.
but only in alacritty, it says sh: brew: command not found
at start.
fyi my bash config: https://github.com/flavono123/dotfiles/tree/master/bash
above config is not working since a shell substitute would not do on the config. maybe not a bug if it is not supported on toml itself hope so, since
brew --prefix
output is different by macOS on intel or arm arch.System
OS: macOS Version:
Linux/BSD: (afaik) BSD
Logs
Crashes: STDERR, STDOUT
Font/Terminal size:
alacritty -vv
Keyboard and bindings:
alacritty --print-events