prezto/runcoms/zshenv

26 lines
901 B
Text
Raw Normal View History

2017-01-06 18:59:10 +01:00
# /etc/zsh/zshenv: system-wide .zshenv file for zsh(1).
#
2017-01-06 18:59:10 +01:00
# 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.
# Defines environment variables.
#
2017-01-06 18:59:10 +01:00
# 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.
#
2017-01-06 18:59:10 +01:00
# Global Order: zshenv, zprofile, zshrc, zlogin
2017-01-06 18:59:10 +01:00
if [[ -z "$PATH" || "$PATH" == "/bin:/usr/bin" ]]
then
export PATH="$HOME/git/linux-config/dotfiles/bin:/usr/local/bin:/usr/bin:/bin:/usr/games"
2012-08-31 19:44:29 -04:00
fi
2017-01-06 18:59:10 +01:00
# Ensure that a non-login, non-interactive shell has a defined environment.
#if [[ "$SHLVL" -eq 1 && ! -o LOGIN && -s "${ZDOTDIR:-$HOME}/.zprofile" ]]; then
# source "${ZDOTDIR:-$HOME}/.zprofile"
#fi
#