parent
5984c2914a
commit
53aef00acd
@ -1,13 +1,9 @@
|
||||
# /etc/zsh/zlogout: system-wide .zlogout file for zsh(1).
|
||||
#
|
||||
# Executes commands at logout.
|
||||
#
|
||||
# Authors:
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# Print the message.
|
||||
cat <<-EOF
|
||||
|
||||
Thank you. Come again!
|
||||
-- $USER
|
||||
EOF
|
||||
#
|
||||
|
@ -1,11 +1,25 @@
|
||||
# /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.
|
||||
# Defines environment variables.
|
||||
#
|
||||
# Authors:
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
# 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
|
||||
|
||||
# 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"
|
||||
if [[ -z "$PATH" || "$PATH" == "/bin:/usr/bin" ]]
|
||||
then
|
||||
export PATH="$HOME/git/linux-config/dotfiles/bin:/usr/local/bin:/usr/bin:/bin:/usr/games"
|
||||
fi
|
||||
|
||||
# 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
|
||||
#
|
||||
|
Loading…
Reference in new issue