Re: tmux: How to create a new window with the same path (from the current pane)

2019-12-07 Thread Atanas Vladimirov
On 2019-11-26 17:38, Anders Damsgaard wrote: * Atanas Vladimirov [2019-11-26 17:10:14 +0200]: So, if I understand your example right, I need to do something like `bind c new-window -c "$PWD"` in my .tmux.conf. The problem is that it works partially - if I'm in `/home//` and start tmux there,

Re: tmux: How to create a new window with the same path (from the current pane)

2019-11-26 Thread Anders Damsgaard
* Atanas Vladimirov [2019-11-26 17:10:14 +0200]: So, if I understand your example right, I need to do something like `bind c new-window -c "$PWD"` in my .tmux.conf. The problem is that it works partially - if I'm in `/home//` and start tmux there, the $PWD is correct, but when I change the

Re: tmux: How to create a new window with the same path (from the current pane)

2019-11-26 Thread Atanas Vladimirov
On 2019-11-26 16:27, Anders Damsgaard wrote: * Atanas Vladimirov [2019-11-26 14:27:33 +0200]: Hello, The following works on Linux: ``` bind c new-window -c "#{pane_current_path}" ``` but the `pane_current_path` variable does not exists on OpenBSD. Does anyone now how can I achieve the

Re: tmux: How to create a new window with the same path (from the current pane)

2019-11-26 Thread Anders Damsgaard
* Atanas Vladimirov [2019-11-26 14:27:33 +0200]: Hello, The following works on Linux: ``` bind c new-window -c "#{pane_current_path}" ``` but the `pane_current_path` variable does not exists on OpenBSD. Does anyone now how can I achieve the same behavior on OpenBSD? Hi Atanas, I