Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank pane templates with cwd use wrong shell #2150

Closed
har7an opened this issue Feb 9, 2023 · 3 comments
Closed

Blank pane templates with cwd use wrong shell #2150

har7an opened this issue Feb 9, 2023 · 3 comments

Comments

@har7an
Copy link
Contributor

har7an commented Feb 9, 2023

Thank you for taking the time to file this issue! Please follow the instructions and fill in the missing parts below the instructions, if it is meaningful. Try to be brief and concise.

Basic information

zellij --version: latest main (5eb2d05)
stty size: 55 118
uname -av or ver(Windows): Linux 6.1.9-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Feb 2 00:21:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Further information

Start zellij with the following layout:

layout {
    pane_template name="shell" {
        name "SHELL"
        cwd "/home/hartan"
    }

    shell
}
  • Expected result: Zellij uses the shell I have configured, /bin/zsh
  • Actual result: Zellij uses the shell from $SHELL, /bin/bash

Regular panes use /bin/zsh as configured.

@imsnif
Copy link
Member

imsnif commented Feb 13, 2023

Thanks for filing this @har7an - could you please separate these into 2 issues though? It would be easier to keep track of, as they are different bugs.

@har7an har7an changed the title Inconsistencies in pane templates Blank pane templates with cwd use wrong shell Feb 15, 2023
@har7an
Copy link
Contributor Author

har7an commented Feb 15, 2023

@imsnif Sure thing, sorry for that. The other one is #2165 now. :)

@imsnif
Copy link
Member

imsnif commented Mar 1, 2023

Fixed by #2203

@imsnif imsnif closed this as completed Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants