[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master f97e1b5 2/3: Get rid of unwanted environment
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master f97e1b5 2/3: Get rid of unwanted environment variables |
Date: |
Fri, 7 Feb 2020 07:38:25 -0500 (EST) |
branch: master
commit f97e1b596eb316c3d698dc33d160b7589ccc23d1
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Get rid of unwanted environment variables
---
gwc/.zshrc | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gwc/.zshrc b/gwc/.zshrc
index c5a7fce..9226f39 100644
--- a/gwc/.zshrc
+++ b/gwc/.zshrc
@@ -100,6 +100,23 @@ HISTFILE=~/.history
setopt HIST_IGNORE_DUPS
setopt HIST_IGNORE_SPACE
+# Get rid of silly redhat defaults like their 1400-char $LS_COLORS.
+unset HISTCONTROL
+unset KDEDIRS
+unset LESSOPEN
+unset LS_COLORS
+unset MANPATH
+unset PERL5LIB
+unset PERL_LOCAL_LIB_ROOT
+unset PERL_MB_OPT
+unset PERL_MM_OPT
+unset QTDIR
+unset QT_GRAPHICSSYSTEM_CHECKED
+unset QTINC
+unset QTLIB
+unset QT_PLUGIN_PATH
+unset SYSTEMDIR
+
autoload -U compinit
compinit -u