From: Iain Patterson Date: Tue, 13 Jul 2010 09:32:49 +0000 (+0100) Subject: Set TERMINFO before calling tput. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=1ec94025a15c0e0fecfdc27e3bfd51f1e52d642f;p=profile.git Set TERMINFO before calling tput. grep.bashrc and ps1.bashrc call tput so add a dependency on TERM.bashrc. --- 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.