delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <f60fe000807180707g6f4ca48dx3f98f66db2bc588b@mail.gmail.com> |
Date: | Fri, 18 Jul 2008 10:07:10 -0400 |
From: | "Mark J. Reed" <markjreed AT mail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: bash load |
In-Reply-To: | <loom.20080718T135836-836@post.gmane.org> |
MIME-Version: | 1.0 |
References: | <loom DOT 20080718T135836-836 AT post DOT gmane DOT org> |
X-Google-Sender-Auth: | 018846aacc2d39d3 |
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 |
That's a general bash question, not Cygwin-specific; I recommend looking here: http://www.faqs.org/faqs/unix-faq/shell/bash/ But the short answer is that bash reads either .bashrc (non-login shell) or .bash_profile (login shell), but not both. If you want the stuff in your .bashrc to be loaded in a login shell, you need to source it explicitly inside your .bash_profile via something like this: . "${HOME}"/.bashrc Also make sure that the .bash files are in your actual home directory, which is usually not /home but /home/YourUserName... -- Mark J. Reed <markjreed AT gmail DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |