Skip to content

Directory per pane #133

Open
Open
@hakunin

Description

@hakunin

Hi, I am running a window where four panes, each with different directory.

I do something like this:

windows:
  - name: Server
    focus: true
    root: ~/dev
    layout: tiled
    panes:
      - cd app1 && be rails s
      - cd app2 && be rails s -p 3001
      - cd app1 && be sidekiq
      - cd app2 && be sidekiq

What happens if I kill the server in app1 is when I press arrow up, it suggests cd app1 && be rails s which I cannot run.

I'd like to switch directory before running my server somehow, any ideas?

I could do cd ~/dev/app1 && be rails s which will allow re-running, but if there is more elegant solution I'd love to know.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions