This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

login shell and .bashrc


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]