ansible/roles/base: Fix mode on ZSH files and install a zprofile
[noc.git] / ansible / roles / base / files / zprofile
diff --git a/ansible/roles/base/files/zprofile b/ansible/roles/base/files/zprofile
new file mode 100644 (file)
index 0000000..4fd82ad
--- /dev/null
@@ -0,0 +1,9 @@
+# /etc/zsh/zprofile: system-wide .zprofile file for zsh(1).
+#
+# This file is sourced only for login shells (i.e. shells
+# invoked with "-" as the first character of argv[0], and
+# shells invoked with the -l flag.)
+#
+# Global Order: zshenv, zprofile, zshrc, zlogin
+umask 077
+emulate sh -c 'source /etc/profile'