diff options
author | June McEnroe <june@causal.agency> | 2021-02-27 17:48:58 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-02-27 17:48:58 -0500 |
commit | d4e8ee4c3c11ee9dc4e846fb99d96ad22322f9a6 (patch) | |
tree | 822d5dd881ae25cb69bc75499a3698890951f211 /home | |
parent | Revert "Lower sctd temperature" (diff) | |
download | src-d4e8ee4c3c11ee9dc4e846fb99d96ad22322f9a6.tar.gz src-d4e8ee4c3c11ee9dc4e846fb99d96ad22322f9a6.zip |
Move LESS_TERMCAP settings to .shrc
They depend on TERM, so they shouldn't run in .profile.
Diffstat (limited to '')
-rw-r--r-- | home/.profile | 2 | ||||
-rw-r--r-- | home/.shrc | 3 |
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 |