This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
login shell and .bashrc
- From: "Ling F. Zhang" <lingfengz at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 2 Aug 2003 00:24:46 -0700 (PDT)
- Subject: login shell and .bashrc
- Reply-to: lingfengz at yahoo dot com
I still don't quite understand the different b/t bash
and bash --login....but I know the latter is why my
.bashrc does not run when I run cygwin using this
batch file:
==============
@echo off
SET DISPLAY=127.0.0.1:0.0
SET CYGWIN_ROOT=\cygwin
SET
PATH=%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%;.
REM I use exceed as my xserver:
start /D"C:\Program
Files\Hummingbird\Connectivity\8.00\Exceed\" exceed
run xterm -sb -bg rgb:20/20/20 -fg rgb:ff/ff/00
-geometry 90x65 -T 'X-Terminal' -e /usr/bin/bash
--login -i
=============
is the --login option even necessary? I simply put it
there for the sake of keeping it consistent with
cygwin.bat anyway...
thank you
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/