chiark / gitweb /
dot/zshrc: Don't have `typeset -x' implicitly make variables global.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 12 May 2018 17:31:24 +0000 (18:31 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 12 May 2018 17:31:24 +0000 (18:31 +0100)
This is compatibility cruft which isn't consistent with the way the rest
of the shell works.

dot/zshrc

index a42e48220f2932fcabffb679676ef83790ac42c7..f6b205a0131995bb134575189648fecb26e241e5 100644 (file)
--- a/dot/zshrc
+++ b/dot/zshrc
@@ -137,6 +137,7 @@ unsetopt bash_auto_list
 unsetopt beep
 setopt extendedglob
 unsetopt flow_control
+unsetopt global_export
 setopt glob_star_short
 setopt hist_ignore_all_dups
 setopt hist_ignore_space