zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
21.64k stars 654 forks source link

Zellij crashes when I use the $HOME environment variable in its config file to dump the screen #3102

Open varaskkar opened 9 months ago

varaskkar commented 9 months ago

Hi! I recently started using Zellij and I love it ♥ much more than Tmux. You've made a masterpiece, a must if you use Helix or Neovim.

As to the error, I'm using Manjaro Linux with KDE (X11), Alacritty and Zellij v0.39.2

config.kdl

keybinds clear-defaults=true {
    normal {
        bind "Alt d" { DumpScreen "$HOME/Descargas/zellij-dump.txt"; }
    }
}

Having this configuration, I open Alacritty and start Zellij, press Alt + d and it immediately crashes.

crash with $HOME

However, it works well with a hardcoded path bind "Alt d" { DumpScreen "/home/varaskkar/Descargas/zellij-dump.txt"; }

matzxrr commented 9 months ago

Same Issue: https://github.com/zellij-org/zellij/issues/2764