]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/accounts/files/default/tomh/.zshenv
Update zsh configuration
[chef.git] / cookbooks / accounts / files / default / tomh / .zshenv
diff --git a/cookbooks/accounts/files/default/tomh/.zshenv b/cookbooks/accounts/files/default/tomh/.zshenv
new file mode 100644 (file)
index 0000000..d7ae3ba
--- /dev/null
@@ -0,0 +1,18 @@
+# Z-shell options
+setopt EXTENDED_GLOB
+setopt RC_EXPAND_PARAM
+
+# Set file creation mask
+umask 002
+
+# No core dumps
+limit coredumpsize 0
+
+# Set the function search path
+FPATH=${HOME}/zshfuncs:${FPATH}
+
+# Export the host name
+export HOST
+
+# Get the unqualified node name for this host
+NODE="${(M)HOST##[^.]##}"