From: Thomas Glanzmann Date: Tue, 07 Jun 2005 07:30:45 GMT Subject: Re: [PATCH 0/4] Writing refs in git-ssh-push Message-ID: <20050607073045.GZ3669@cip.informatik.uni-erlangen.de> In-Reply-To: Hello, > PATH=$PATH:~/bin in my .bashrc, this should work because ssh executes a *not* login shell when you execute a remote command. And bash reads .bashrc always and .bash_profile only for login shell. Is bash your login shell? For me it works: (excalibur) [~] cat .bashrc export PATH=$PATH:~/bin (excalibur) [~] ssh localhost env | grep PATH PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/cip/adm/sithglan/bin In university I had to put the following in my .cshrc (because I have tcsh as login shell and can't change it) to make bk push and stuff working: (faui00u) [~] cat .cshrc setenv PATH /opt/csw/bin:/usr/X11R6/bin:/sbin:/usr/bin:/usr/sbin:/local/bin:/bin:/local/bitkeeper/bin Thomas