delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/02/27/13:08:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,TW_RX,TW_TX
X-Spam-Check-By: sourceware.org
From: Kevin Layer <layer AT franz DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: startxwin started bash does not read .bashrc or .bash_profile
In-reply-to: <CAMK_jUW-=GxB_-fHUxdCwLk_8ww5Whg5ztMU2NDzszBT44-70w@mail.gmail.com>
References: <15470 DOT 1361923720 AT relay DOT known DOT net> <512D7040 DOT 7080905 AT gmail DOT com> <26949 DOT 1361935259 AT relay DOT known DOT net> <512E2F7D DOT 1030305 AT cs DOT umass DOT edu> <8092 DOT 1361982038 AT relay DOT known DOT net> <CAMK_jUW-=GxB_-fHUxdCwLk_8ww5Whg5ztMU2NDzszBT44-70w AT mail DOT gmail DOT com>
Comments: In-reply-to K Stahl <kdstahl AT gmail DOT com> message dated "Wed, 27 Feb 2013 12:11:12 -0500."
Date: Wed, 27 Feb 2013 10:07:34 -0800
Message-ID: <6878.1361988454@freon.franz.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

K Stahl wrote:

>> I normally start a terminal in my .xinitrc file (Place it in your home
>> directory):
>> 
>> Example:
>> 
>> #!/usr/bin/sh
>> urxvt -e bash -l & wmpid=$!
>> wait ${wmpid}

Bash started via .xinitrc *does* read my .bashrc.  Interesting!

I'll play more with this tonight to see if I can get my ssh-agent/add
setup working with .xinitrc instead of .startxwinrc.

Thanks!

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019