Skip to content

Can you configure what directories panes use in a layout? #1049

Answered by a-kenji
brendonsoto asked this question in Q&A
Discussion options

You must be logged in to vote

Hey! Thanks for reaching out.

cd is a shell intrinsic command, that (afaik) always instantly returns.
So this is heavily dependent on the shell you are using, this is a working example for fish:

---
template:
  direction: Horizontal
  parts:
    - direction: Vertical
      body: true
    - direction: Vertical
      borderless: true
      split_size:
        Fixed: 1
      run:
        plugin:
          location: "zellij:tab-bar"
tabs:
  - direction: Vertical
    run:
         command: {cmd: fish, args: ["-C", "cd $HOME/Documents && fish"]}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brendonsoto
Comment options

Answer selected by brendonsoto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants