git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/4] Writing refs in git-ssh-push

From
TGThomas Glanzmann <sithglan@stud.uni-erlangen.de>
Date
Jun 7, 2005, 07:30 UTC
Message-ID
<20050607073045.GZ3669@cip.informatik.uni-erlangen.de>
In-Reply-To
<Pine.LNX.4.58.0506062008560.2286@ppc970.osdl.org>
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
Previous: Frank Sorenson
Message 11 of 11 in “Writing refs in git-ssh-push”
  1. 0/4 Writing refs in git-ssh-pushDaniel Barkalow, Jun 6, 2005
  2. 1/4 Operations on refsDaniel Barkalow, Jun 6, 2005
  3. 2/4 rsh.c environment variableDaniel Barkalow, Jun 6, 2005
  4. 3/4 Generic support for pulling refsDaniel Barkalow, Jun 6, 2005
  5. McMullan, JasonJun 7, 2005
  6. Daniel BarkalowJun 7, 2005
  7. 4/4 -w support for git-ssh-pull/pushDaniel Barkalow, Jun 6, 2005
  8. Linus TorvaldsJun 7, 2005
  9. Daniel BarkalowJun 7, 2005
  10. Frank SorensonJun 7, 2005
  11. Thomas GlanzmannJun 7, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.