Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <4.1.19990510144308.00a01910@mailhost.teknowledge.com> X-Sender: rschulz AT mailhost DOT teknowledge DOT com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Mon, 10 May 1999 14:51:08 -0700 To: "Ian Zimmerman" , "Cygnus tools mailing list" From: Randall Schulz Subject: Re: cd $HOME In-Reply-To: <013101be9b2d$a34d7a70$47191ecc@amazon.lbin.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Ian, I believe I've had the same trouble you're experiencing. I solved it by configuring the shortcut I always use to launch BASH. You can exert all kinds of control over the startup behavior: - Starting directory - Additional arguments to BASH. - Window size, placement, font and colors - System-level accellerator key for launching or bringing window to front Create a shortcut to BASH and put it in a convenient location (for me, that's the desktop). Access the shortcut's properties dialog (by selecting the last command in the menu that results from right-mousing the shortcut icon). One of the panes / tabs of that dialog is the "Shortcut" pane. Here you can control the current directory at the time BASH starts up (the "Start in:" text field) and the options passed to BASH (the "Target:" text field). The "Shortcut Key:" field is where you can set the launch / restore key. Font control, window size and placement (and scroll buffer size) and the colors of the text and background each have their own tabbed panes. A control freak's delight, I'd say. Randy Schulz Teknowledge Corp. Palo Alto, CA USA At 02:39 PM 5/10/99 , Ian Zimmerman wrote: >For some reason, I can't get bash to automatically change to my home >directory when it starts. The HOME envar is set to the Unixoid path, ie. >/home/itz. It has to be that way because I have other Cygwin-linked >programs (XEmacs is one) that I want to be able to start independently, >before bash has run. > >Yes, I give bash the --login and -i flags. It makes no difference. Unless >I explicitly cd to the home directory from the batch wrapper, the directory >I end up in is either the bin directory where bash executable is located, >or some weird ....\Desktop\itz place (the latter seems to happen when I >start it through a Windows "shortcut"). > >As a consequence, my .profile is not being sourced, etc. etc. > >Any ideas appreciated. > > > > >-- >Want to unsubscribe from this list? >Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com