summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-02-27 17:48:58 -0500
committerJune McEnroe <june@causal.agency>2021-02-27 17:48:58 -0500
commit08696a772f39de584723cef9cfb2e122a81b442b (patch)
tree653dba9a2c1a8b8d7ef202fb5e2c1ea7033871d6
parentRevert "Lower sctd temperature" (diff)
downloadsrc-08696a772f39de584723cef9cfb2e122a81b442b.tar.gz
src-08696a772f39de584723cef9cfb2e122a81b442b.zip
Move LESS_TERMCAP settings to .shrc
They depend on TERM, so they shouldn't run in .profile.
-rw-r--r--home/.profile2
-rw-r--r--home/.shrc3
2 files changed, 3 insertions, 2 deletions
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