zellij
zellij copied to clipboard
Support for `~/foo/bar` patterns in configuration files
Zellij currently doesn't support shorthand representation of home directories i.e, ~
in configuration files.
It would be helpful if zellij can parse cwd
having ~
in it.
Ex:
layout {
...
pane {
cwd "~/projects"
}
...
}
Maintainer told me to make an issue about this but I was too lazy 😂. Not only ~
, but I hope environment variables like $HOME
gets supported too 🙏
@imsnif let me know if #2035 is in consideration. I would be happy to contribute.
I'm having the same issue, this doesn't work with tabs either.
I was a bit confused by the dafault config file mentioning default_shell
being set to $SHELL
by default, or scrollback_editor
being set to $EDITOR
.
This is because setting those options to those values doesn't work. Those environment variables are not expanded for those config options.
Can someone confirm if that is indeed the case, or whether I'm missing something?
If so, is that something being worked on? Because the docs seems to suggest it's possible to use the $EDITOR value for example, or some other environment variable.
Should this issue be closed as completed due to #2291, part of Release v0.37.0?
Should this issue be closed as completed due to https://github.com/zellij-org/zellij/pull/2291, part of Release v0.37.0?
I've just upgraded to the latest release and the issue is still present, as described above.