On Jul 4, 2:35 am, Junio C Hamano <[EMAIL PROTECTED]> wrote:

> Entry for you in /etc/passwd may say /bin/sh and maybe ssh/login is simply
> honoring it.  When the same bash binary is started as "sh" it changes
> behaviour.

Thanks Junio, you nailed it.  My entry in /etc/passwd said,
essentially

    me:x:#:#:First Last:/home/me:

Having the admin change this to:

    me:x:#:#:First Last:/home/me:/bin/bash

...caused my interactive and non-interactive sessions to
source .bashrc.  Previously, non-interactive sessions would not source
anything, so no way to set the path.  Things are now working as
expected, both for git and mercurial.

Many thanks for this!
---
http://hostilefork.com

Reply via email to