From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MiNaX-0005bd-01 for garchives@archives.gentoo.org; Tue, 01 Sep 2009 07:15:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3640E08C3; Tue, 1 Sep 2009 12:24:19 +0000 (UTC) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by pigeon.gentoo.org (Postfix) with SMTP id 64B46E08C3 for ; Tue, 1 Sep 2009 12:24:19 +0000 (UTC) Received: (qmail invoked by alias); 01 Sep 2009 12:24:18 -0000 Received: from static-87-79-89-171.netcologne.de (EHLO symbox) [87.79.89.171] by mail.gmx.net (mp007) with SMTP; 01 Sep 2009 14:24:18 +0200 X-Authenticated: #3423037 X-Provags-ID: V01U2FsdGVkX19HF75qeepHwyylRplRBCy3kX5sdSdEWQWqiuv8kv v/tumohM1oicPe Date: Tue, 1 Sep 2009 14:24:10 +0200 From: Renat Golubchyk To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] my gentoo wont read .bashrc automatically Message-ID: <20090901142410.680eb2d6@symbox> In-Reply-To: <53e35fd50909010509l553bd715y1a4c7b6f796e2583@mail.gmail.com> References: <53e35fd50909010509l553bd715y1a4c7b6f796e2583@mail.gmail.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/hsQc9d6=h92pAo_8MiLx.aB"; protocol="application/pgp-signature" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 X-Archives-Salt: 35003d06-aaba-4d1b-822d-aa85f07481a2 X-Archives-Hash: 18ce04ec4649e3ab0a7c97ca22e2bec5 --Sig_/hsQc9d6=h92pAo_8MiLx.aB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi! On Tue, 1 Sep 2009 20:09:12 +0800 Xi Shen wrote: > every time i reboot the system, the ~/.bashrc will not be > read/executed automatically. i have give it x attribute. also i have > checked the /etc/bash/bashrc file, and i did not find and logic about > reading/executing the ~/.bashrc file. is there anything wrong with my > system? You don't need the executable bit set on bashrc. ~/.bashrc gets read when you start an interactive shell, e.g. an xterm. When you log in a login shell is started, which reads ~/.bash_profile. If you want that your ~/.bashrc will be read on login include the following statement in ~/.bash_profile [[ -f ~/.bashrc ]] && . ~/.bashrc Cheers, Renat --=20 Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) --Sig_/hsQc9d6=h92pAo_8MiLx.aB Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkqdEm8ACgkQRZZXkGjHI/0SOgCfWVIt61LECYVAoyiXHEWquWCT VEgAn1kKsosQRAfOWsJbsXffT9BWGP0D =Mhbl -----END PGP SIGNATURE----- --Sig_/hsQc9d6=h92pAo_8MiLx.aB--