It looks like cygwin's /etc/profile is causing the homedir behavior.
Add this line to your tmux.conf and the behavior should stop:
set-environment -g CHERE_INVOKING 1
--
Learn Graph Databases - Download FREE O'Reilly Book
> I did not submit a patch because I could not get `tmux splitw -c
> '#{pane_current_path}'` to work properly on Cygwin. I'd love to say that the
> patch submitted by J Raynor worked for me though, but I'm still always
> getting new panes/windows opening at `~`. I git-pulled the latest master
>
> I did not submit a patch because I could not get `tmux splitw -c
> '#{pane_current_path}'` to work properly on Cygwin. I'd love to say that the
> patch submitted by J Raynor worked for me though, but I'm still always
> getting new panes/windows opening at `~`. I git-pulled the latest master
>
get the ` -c
> start-directory` functionality working?
>
> Byron Boulton
>
> -Original Message-
> .
> .
> .
> Message: 3
> Date: Sat, 8 Mar 2014 21:33:08 +
> From: Nicholas Marriott
> Subject: Re: patch for get_cwd for cygwin
> To: J Rayno
From: Nicholas Marriott
Subject: Re: patch for get_cwd for cygwin
To: J Raynor
Cc: tmux-users@lists.sourceforge.net
Message-ID: <20140308213308.GM3223@yelena>
Content-Type: text/plain; charset=us-ascii
no but i told him to just hack configure.ac to build
osdep-linux.c. anyway if it
no but i told him to just hack configure.ac to build
osdep-linux.c. anyway if it works for you that's fine
On Sat, Mar 08, 2014 at 12:29:24PM -0600, J Raynor wrote:
> > nice, i thought they would probably be very similar but the guy who
> > requested this said he tried to copy osdep-linux.c and i
> nice, i thought they would probably be very similar but the guy who
> requested this said he tried to copy osdep-linux.c and it didn't work
Hmm. Did he supply a patch? I'm just wondering if he forgot to
update configure.ac. In that case, tmux would've continued to use
osdep-unknown.c.
--
nice, i thought they would probably be very similar but the guy who
requested this said he tried to copy osdep-linux.c and it didn't work
On Fri, Mar 07, 2014 at 11:05:27PM -0600, J Raynor wrote:
> The TODO list has this item:
>
> * get_cwd for cgywin
>
>
> I've attached a patch which impleme
The TODO list has this item:
* get_cwd for cgywin
I've attached a patch which implements this, along with get_name.
Cygwin's /proc filesystem is similar enough to linux's that the code
could be copied from osdep-linux.c, and that's what I've done.
osdep-cygwin.c is just a copy of osdep-linux.c,