alacritty: TOML Configuration shell might not work

System

OS: Pop_OS! 22.04 LTS Version: alacritty 0.13.0-dev Compositor: x11

Logs

cat /tmp/Alacritty-8778.log

[0.000402633s] [WARN ] [alacritty_config_derive] Unused config key: shell

Config

live_config_reload = true

[cursor]
shell = { program = "/bin/bash", args = "-l -c tmux" }

[env]
TERM =  "alacritty"

[window]
dynamic_title = true
startup_mode = "Maximized"
padding = { x = 8, y = 8 }
opacity = 0.9

[scrolling]
history = 10000

[selection]
save_to_clipboard = true

[keyboard]
bindings = [
        { action = "Copy", key = "C", mods = "Control|Shift" },
        { action = "Paste", key = "V", mods = "Control|Shift" }
]

[mouse]
hide_when_typing = true

Problem

Reading the man page man 5 alacritty it seems pretty clear the shell key-value pair under the cursor table should work. Any idea why it doesn’t?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (9 by maintainers)

Commits related to this issue

Most upvoted comments

the following works

[terminal]
osc52 = "CopyPaste"

[shell]
program = "zsh"
args = ["-l", "-i", "-c", "zellij attach --index 0 --create"]

shell is in it’s own section

I possibly expected some kind of notice or something

There are generally temporary warnings when config options are migrated, but if you upgrade too slowly it’s possible to miss them.

[shell]
program = "/bin/zsh"
args = ["-l"]