From d4e8ee4c3c11ee9dc4e846fb99d96ad22322f9a6 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 27 Feb 2021 17:48:58 -0500 Subject: Move LESS_TERMCAP settings to .shrc They depend on TERM, so they shouldn't run in .profile. --- home/.profile | 2 -- home/.shrc | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'home') diff --git a/home/.profile b/home/.profile index 5a6eb05c..d719799b 100644 --- a/home/.profile +++ b/home/.profile @@ -15,8 +15,6 @@ export PAGER=less export LESS=FRXix4 export CLICOLOR=1 export MANSECT=2:3:1:8:6:5:7:4:9 -export LESS_TERMCAP_us=$(tput sitm) -export LESS_TERMCAP_ue=$(tput ritm) export NETHACKOPTIONS='pickup_types:$!?+/=, color, DECgraphics' [ -e /usr/share/mk/sys.mk ] || export CFLAGS=-O diff --git a/home/.shrc b/home/.shrc index df980428..d5fcb540 100644 --- a/home/.shrc +++ b/home/.shrc @@ -35,6 +35,9 @@ if [ -n "${SSH_CD:-}" ]; then unset SSH_CD fi +export LESS_TERMCAP_us=$(tput sitm) +export LESS_TERMCAP_ue=$(tput ritm) + hostname=$(hostname -s) rprompt() { local pwd -- cgit 1.4.1