summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-shells/bash/files/bashrc')
-rw-r--r--app-shells/bash/files/bashrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc
index 1107f43..2bd746d 100644
--- a/app-shells/bash/files/bashrc
+++ b/app-shells/bash/files/bashrc
@@ -1,4 +1,4 @@
-# /etc/bash/bashrc
+# @GENTOO_PORTAGE_EPREFIX@/etc/bash/bashrc
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
@@ -61,10 +61,10 @@ if type -P dircolors >/dev/null ; then
# If you have a custom file, chances are high that it's not the default.
used_default_dircolors="no"
eval "$(dircolors -b ~/.dir_colors)"
- elif [[ -f /etc/DIR_COLORS ]] ; then
+ elif [[ -f @GENTOO_PORTAGE_EPREFIX@/etc/DIR_COLORS ]] ; then
# People might have customized the system database.
used_default_dircolors="maybe"
- eval "$(dircolors -b /etc/DIR_COLORS)"
+ eval "$(dircolors -b @GENTOO_PORTAGE_EPREFIX@/etc/DIR_COLORS)"
else
used_default_dircolors="yes"
eval "$(dircolors -b)"
@@ -118,7 +118,7 @@ else
fi
fi
-for sh in /etc/bash/bashrc.d/* ; do
+for sh in @GENTOO_PORTAGE_EPREFIX@/etc/bash/bashrc.d/* ; do
[[ -r ${sh} ]] && source "${sh}"
done