]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/shell/env
shell: update comment for man wrapper
[config/dotfiles.git] / shell / shell / env
index 973e54fda6e0f6fbe9b7b681e8c802bca3dde754..8313a41b0f17658d27ee5a2c22b80687bfbf8430 100644 (file)
@@ -63,7 +63,8 @@ PAGER=less
 export PAGER
 
 escape=`printf '\033'`
-# Color man pages viewed with less, thanks to [1].
+# Color man pages viewed with less, thanks to [1]. Groff versions >= 1.23 also
+# need GROFF_NO_SGR=1 for this to work.
 #
 # [1]: http://nion.modprobe.de/blog/archives/572-less-colors-for-man-pages.html
 #
@@ -164,4 +165,9 @@ export GOPROXY
 GOSUMDB=off
 export GOSUMDB
 
+# Tell `ip -color` to use colors suitable for a dark terminal. Not sure if
+# this variable is also used by other programs.
+COLORFGBG=';0'
+export COLORFGBG
+
 # vim: ft=sh