summary refs log tree commit diff
path: root/home
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 /home
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.
Diffstat (limited to 'home')
-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
dit.h?h=vimode&id=c929a696eb8a1902a740a19f8f22c745df0cf953&follow=1'>Clean up unimplemented editing mode stuffJune McEnroe 2022-02-20Save input buffer contentsJune McEnroe 2022-02-20Share a cut buffer between all edit buffersJune McEnroe 2022-02-20Assert return values in edit testsJune McEnroe 2022-02-20Move mbs out of struct Edit, use a global bufferJune McEnroe 2022-02-20Clear edit buffer before running commandJune McEnroe 2022-02-20Show indicator in status when window has pending inputJune McEnroe 2022-02-20Use separate edit buffers for each IDJune McEnroe 2022-02-20Make sure new cap is actually larger than new lengthJune McEnroe 2022-02-20Remove unused mbs.len field from struct EditJune McEnroe 2022-02-19Remove unneeded includes in ui.cJune McEnroe 2022-02-19Reimplement tab completeJune McEnroe 2022-02-19Handle errors from editFn, etc.June McEnroe 2022-02-19Reimplement text macrosJune McEnroe 2022-02-19Factor out input handling to input.cJune McEnroe 2022-02-19Factor out window management to window.cJune McEnroe 2022-02-19Enable -Wmissing-prototypesJune McEnroe 2022-02-19Fix edit.[ch] license notice additional permissionsJune McEnroe 2022-02-19Run line editing testsJune McEnroe 2022-02-18Implement new line editing "library"June McEnroe 2022-02-18Simplify cursor positioning in inputJune McEnroe 2022-02-18Fix M-f orderingJune McEnroe 2022-02-12Move sandman build to scripts/MakefileJune McEnroe 2022-02-12Use compat_readpassphrase.c on LinuxJune McEnroe 2022-02-12Copy RPP defines from oconfigureJune McEnroe