From 1ec94025a15c0e0fecfdc27e3bfd51f1e52d642f Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Tue, 13 Jul 2010 10:32:49 +0100 Subject: [PATCH] Set TERMINFO before calling tput. grep.bashrc and ps1.bashrc call tput so add a dependency on TERM.bashrc. --- .profile.d/grep.bashrc | 1 + .profile.d/ps1.bashrc | 1 + 2 files changed, 2 insertions(+) diff --git a/.profile.d/grep.bashrc b/.profile.d/grep.bashrc index 04bd1d8..259be8d 100644 --- a/.profile.d/grep.bashrc +++ b/.profile.d/grep.bashrc @@ -1,3 +1,4 @@ +# profile-required: TERM.bashrc # Use colours for grep if possible. if grep -V 2>/dev/null | grep GNU >/dev/null; then alias grep='grep --color=auto' diff --git a/.profile.d/ps1.bashrc b/.profile.d/ps1.bashrc index 09a26fc..1d6c22b 100644 --- a/.profile.d/ps1.bashrc +++ b/.profile.d/ps1.bashrc @@ -1,4 +1,5 @@ #!bash Coloured prompts. +# profile-required: TERM.bashrc # # The prompt comprises multiple parts, some of which may be hidden by unsetting # shell variables or using the ``prompt'' function. -- 2.7.4