summaryrefslogtreecommitdiff
path: root/debian/zshenv
diff options
context:
space:
mode:
Diffstat (limited to 'debian/zshenv')
-rw-r--r--debian/zshenv18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/zshenv b/debian/zshenv
new file mode 100644
index 000000000..e2613c3cf
--- /dev/null
+++ b/debian/zshenv
@@ -0,0 +1,18 @@
+# /etc/zsh/zshenv: system-wide .zshenv file for zsh(1).
+#
+# This file is sourced on all invocations of the shell.
+# If the -f flag is present or if the NO_RCS option is
+# set within this file, all other initialization files
+# are skipped.
+#
+# This file should contain commands to set the command
+# search path, plus other important environment variables.
+# This file should not contain commands that produce
+# output or assume the shell is attached to a tty.
+#
+# Global Order: zshenv, zprofile, zshrc, zlogin
+
+if [[ -z "$PATH" || "$PATH" == "/bin:/usr/bin" ]]
+then
+ export PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
+fi