RE: ssh and user env vars from control panel

2011-03-04 Thread Nellis, Kenneth
> From: Rafael Kitover > > I made this block for my .zshrc and .bashrc : > maybe someone else will find it useful. Seems more appropriate for .bash_profile than .bashrc. --Ken Nellis

Re: ssh and user env vars from control panel

2011-03-03 Thread Rafael Kitover
I made this block for my .zshrc and .bashrc : if [ -z "$APPDATA" ]; then # ssh session, set env vars # this from Corinna at http://cygwin.com/ml/cygwin/2010-08/msg00246.html _sid=$(grep "^$USER:" /etc/passwd | sed -e 's/[^:]*:[^:]*:[^:]*:[^:]*:[^:]*,\(S-1-5-[^:]*\):.*/\1/') _prof=$(cat

Re: ssh and user env vars from control panel

2011-03-02 Thread Andrew Schulman
> > I generally set most of my environment variables in the System control > > panel for my user, instead of in my .bashrc/.zshrc > > > > I noticed that when I log in to Cygwin via ssh, these environment > > variables are not available. > > > > Would this be considered a misfeature? > > No, it's c

Re: ssh and user env vars from control panel

2011-03-02 Thread Charles Wilson
On 3/2/2011 2:44 PM, Larry Hall (Cygwin) wrote: > On 3/1/2011 10:14 PM, Rafael Kitover wrote: >> I generally set most of my environment variables in the System control >> panel for my user, instead of in my .bashrc/.zshrc >> >> I noticed that when I log in to Cygwin via ssh, these environment >> va

Re: ssh and user env vars from control panel

2011-03-02 Thread Larry Hall (Cygwin)
On 3/1/2011 10:14 PM, Rafael Kitover wrote: Hello list, I generally set most of my environment variables in the System control panel for my user, instead of in my .bashrc/.zshrc I noticed that when I log in to Cygwin via ssh, these environment variables are not available. Would this be conside

ssh and user env vars from control panel

2011-03-01 Thread Rafael Kitover
Hello list, I generally set most of my environment variables in the System control panel for my user, instead of in my .bashrc/.zshrc I noticed that when I log in to Cygwin via ssh, these environment variables are not available. Would this be considered a misfeature? I'll probably hack together