summaryrefslogtreecommitdiff
path: root/pinyadmin/zdotdir/zshenv
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@cobain.omgwallhack.org>2018-09-23 00:19:02 -0700
committerJoe Rayhawk <jrayhawk@cobain.omgwallhack.org>2018-09-23 00:19:02 -0700
commit8f2a63b936ddf781c5b591d76108b11579485f39 (patch)
tree1773ca6e0ccc2b82af67f5579a01a0af735a4510 /pinyadmin/zdotdir/zshenv
parent77c04fb8f4eb0f061ac1d652f081f0a038e1803e (diff)
downloadpiny-code-8f2a63b936ddf781c5b591d76108b11579485f39.tar.gz
piny-code-8f2a63b936ddf781c5b591d76108b11579485f39.zip
pinyshell: use zsh and restrict read builtin
Along with rbash careening towards crazytown, rksh has some problematic behavior around HISTFILE creation that forces us to use zsh. We are additionally disabling the "read" builtin for extra safety. Other builtins should maybe also be disabled in the future.
Diffstat (limited to 'pinyadmin/zdotdir/zshenv')
-rw-r--r--pinyadmin/zdotdir/zshenv1
1 files changed, 1 insertions, 0 deletions
diff --git a/pinyadmin/zdotdir/zshenv b/pinyadmin/zdotdir/zshenv
new file mode 100644
index 0000000..a8924af
--- /dev/null
+++ b/pinyadmin/zdotdir/zshenv
@@ -0,0 +1 @@
+disable read