Skip to content

The start_directory directive is not respected when creating new panes. #631

@ghost

Description

Step 1: Provide a summary of your problem

The start_directory directive is not respected when creating new panes.

Step 2: Provide tmuxp details

  • Python version 3.9.0
  • system PATH NA
  • tmux version 3.1
  • tmuxp version 1.5.5
  • tmux path ~/bin/tmux
  • tmuxp path, ~/.pyenv/shims/tmuxp
  • libtmux version 0.8.3
  • shell zsh 5.8
  • output of tmux list-sessions, tmux list-windows, tmux list-panes NA
  • output of tmux show-options -g, tmux show-window-options -g NA
  • output of tmuxp freeze <SESSION_NAME> NA

Step 3: Describe your environment

  • Architecture: x86_64 GNU/Linux
  • OS version: Fedora 32

Step 4: Describe the problem:

Steps to reproduce:

  1. Create a simple configuration setting start_directory to ~/ook & save as ~/.tmuxp/ook.yaml.
  2. Load it via tmuxp load ook
  3. Create a new windows: ctrl+a + c
  4. I was expected the new pane current directory to be ~/ook
  5. The new pane is opened in ~/.

Observed Results:

The new pane is opened in ~/.

Expected Results:

I was expected the new pane current directory to be ~/ook

Relevant Code:

start_directory: ~/ook
windows:
- window_name: top
  panes:
    - shell_command:
        - pwd

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions