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 1Mijln-0007OA-IH for garchives@archives.gentoo.org; Wed, 02 Sep 2009 06:56:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3746E0857; Wed, 2 Sep 2009 12:05:21 +0000 (UTC) Received: from mx1.xen.linuxant.fr (mx1.linuxant.fr [87.98.143.218]) by pigeon.gentoo.org (Postfix) with ESMTP id 6DA46E0857 for ; Wed, 2 Sep 2009 12:05:21 +0000 (UTC) Received: from [192.168.1.103] (93-139-75-232.adsl.net.t-com.hr [93.139.75.232]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: xavier) by mx1.linuxant.fr (Postfix) with ESMTPSA id DEA151889 for ; Wed, 2 Sep 2009 14:05:16 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mx1.linuxant.fr DEA151889 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gentooist.com; s=DKIM; t=1251893117; bh=Q7v3Hvww7hyc4ykBO+JT3emu54F/JyEO6YVftx6YhRI=; l=2145; h=Message-ID:Date:From:Reply-To:MIME-Version:To:Subject:References: In-Reply-To:Content-Type; b=opLOt/9dVBIs6A6gsI3YKv/v6R+ArSfTi+/TAItZ+G2GDB0nX9hPGtzYofNDEIYHo wS4fv1Rmy/j6qlhCoe4PK2LPSrQN3zG1w9InM8tD6E3Z/yQ3yXz3eHWy4gtIEe7rvx dEZfVuM0FezFgymJVVUmPKV6qWI4ZD8sY1ds+tDM= X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 mx1.linuxant.fr DEA151889 DomainKey-Signature: a=rsa-sha1; s=DomainKey; d=gentooist.com; c=nofws; q=dns; h=message-id:date:from:reply-to:user-agent:mime-version:to: subject:references:in-reply-to:x-enigmail-version:openpgp:content-type; b=DJ9g/6e2cf3oVUuGSI6dGQ+FFU8OGvXWrVjeCcHzCpD2XOWAyjW1JgOz1ejxclXTC hS4FW8lN+NddTVbFjVAvDss7LKKhgFxMSi4gD8KydvITefyCEzYOWvyAm7HHiOgK3u7 nS1oLMwfy9H02y79x7izW8X2J1Ho+Suhgm9iNqQ= Message-ID: <4A9E5F6A.9060506@gentooist.com> Date: Wed, 02 Sep 2009 14:04:58 +0200 From: Xavier Parizet User-Agent: Thunderbird 2.0.0.23 (X11/20090901) 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] my gentoo wont read .bashrc automatically References: <53e35fd50909010509l553bd715y1a4c7b6f796e2583@mail.gmail.com> <20090901142410.680eb2d6@symbox> <200909012315.12594.alan.mckinnon@gmail.com> <53e35fd50909020428l5720b494s2f57cf9d92b0cecf@mail.gmail.com> In-Reply-To: <53e35fd50909020428l5720b494s2f57cf9d92b0cecf@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=156991BF; url=http://www.gentooist.com/?attachment_id=5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB4123B183A4A885B9C863209" X-Archives-Salt: 5e65e861-ca82-44f2-be59-e7e866668c29 X-Archives-Hash: 2140097810f80097f1d57cd991f8dd0f This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB4123B183A4A885B9C863209 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Xi Shen a =E9crit : > where is the bash_profile? i cannot find it on my gentoo. >=20 >=20 > On Wed, Sep 2, 2009 at 5:15 AM, Alan McKinnon = wrote: >> On Tuesday 01 September 2009 14:24:10 Renat Golubchyk wrote: >>> 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 abou= t >>>> reading/executing the ~/.bashrc file. is there anything wrong with m= y >>>> 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 >> The standard bash_profile shipped in skel even has a comment directly = above >> that (commented) line saying something to the effect of "uncomment the= >> following line to have .bashrc read at every new shell"... /etc/skel/.bash_profile HTH. --=20 Xavier Parizet YaGB : http://gentooist.com GPG : C7DC B10E FC21 63BE B453 D239 F6E6 DF65 1569 91BF --------------enigB4123B183A4A885B9C863209 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkqeX3AACgkQ9ubfZRVpkb/A4ACbBd29p6U+apHUFsIRFwN7u+FY +lIAn0Mtq121HATX02C63e7qkwP/kWGB =VBUD -----END PGP SIGNATURE----- --------------enigB4123B183A4A885B9C863209--