diff options
author | Michał Górny <gentoo@mgorny.alt.pl> | 2010-04-22 17:43:59 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-04-29 16:51:48 -0700 |
commit | ef2024a33be93a256beef28c1423ba1fb706383d (patch) | |
tree | a1581fa88b7113338bbfd0ae4b545ec26a375f63 /doc | |
parent | Bail out immediately if --exclude is given a bad atom. (diff) | |
download | portage-idfetch-ef2024a33be93a256beef28c1423ba1fb706383d.tar.gz portage-idfetch-ef2024a33be93a256beef28c1423ba1fb706383d.tar.bz2 portage-idfetch-ef2024a33be93a256beef28c1423ba1fb706383d.zip |
Support per-package bashrc files.
Support loading per-package bashrc files from the /etc/portage/env
directory. The invidual files should reside in a directory matching
${CATEGORY}, with names matching ${PN}, ${PN}:${SLOT}, ${P} and/or ${PF}
(which are applied in that order).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/config/bashrc.docbook | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/config/bashrc.docbook b/doc/config/bashrc.docbook index 2f062621..f36fec5e 100644 --- a/doc/config/bashrc.docbook +++ b/doc/config/bashrc.docbook @@ -3,9 +3,17 @@ <sect1 id='config-bashrc-locations'> <title>bashrc locations</title> <para> - If a bashrc file is located at <filename>/etc/portage/bashrc</filename> - then it will be sourced before an ebuild is executed. + If one or more bashrc files exist in the following locations, they will + be sourced before the ebuild is executed in the following order: </para> + + <orderedlist> + <listitem><para><filename>/etc/portage/bashrc</filename></para></listitem> + <listitem><para><filename>/etc/portage/env/${CATEGORY}/${PN}</filename></para></listitem> + <listitem><para><filename>/etc/portage/env/${CATEGORY}/${PN}:${SLOT}</filename></para></listitem> + <listitem><para><filename>/etc/portage/env/${CATEGORY}/${P}</filename></para></listitem> + <listitem><para><filename>/etc/portage/env/${CATEGORY}/${PF}</filename></para></listitem> + </orderedlist> </sect1> <sect1 id='config-bashrc-ebuild-phase-hooks'> <title>Ebuild Phase Hooks</title> |