[Bug 229567] sysutils/tmux: pane_current_path support is broken

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 6 13:09:26 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229567

            Bug ID: 229567
           Summary: sysutils/tmux: pane_current_path support is broken
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mat at FreeBSD.org
          Reporter: 0mp at FreeBSD.org
             Flags: maintainer-feedback?(mat at FreeBSD.org)
          Assignee: mat at FreeBSD.org

A user might want to create a new pane which starts a shell inside the current
working directory. tmux has a mechanism for it since about version 1.9, which
is called "pane_current_path". It can be used in the following way in a tmux
command:

    split-window -h -c "#{pane_current_path}"

Unfortunately, the mechanism is broken using on tmux 2.7 on FreeBSD
12.0-CURRENT amd64 and FreeBSD 11.2 i386. It looks like the function which is
supposed to generate the value for the "pane_current_path" returns an empty
string or something. As a result new panes are always opened in the home
directory even if the default path where tmux was originally started is not the
home directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list