]> Frank Brehm's Git Trees - config/berta/etc.git/commitdiff
saving uncommitted changes in /etc prior to emerge run
authorFrank Brehm <frank@brehm-online.com>
Tue, 20 Dec 2016 13:05:41 +0000 (14:05 +0100)
committerFrank Brehm <frank@brehm-online.com>
Tue, 20 Dec 2016 13:05:41 +0000 (14:05 +0100)
bash/bashrc.d/fbrehm.sh
portage/make.conf

index 3bbd05bf50dff0dca7fb9dda143f129ab0ef8dac..eacd56d01d7e91665cbed901ff683306c9128cd9 100644 (file)
@@ -61,6 +61,7 @@ match_lhs=""
        && type -P dircolors >/dev/null \
        && match_lhs=$(dircolors --print-database)
 [[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true
+[[ "${TERM}" =~ screen-[0-9][0-9]*color ]] && use_color=true
 
 if ${use_color} ; then
        # Enable colors for ls, etc.  Prefer ~/.dir_colors #64489
index e0960a7113f4a07e49759dcf0b7f8f4cfbd6e076..41c59db7507ce8c9d2657b46e59c5a26c2abed65 100644 (file)
@@ -54,3 +54,6 @@ GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
 PORTDIR="/usr/portage"
 DISTDIR="${PORTDIR}/distfiles"
 PKGDIR="${PORTDIR}/packages"
+
+source /var/lib/layman/make.conf
+