From ad2b71d00e1abce741c8c82384d4fad8e0c7c6b5 Mon Sep 17 00:00:00 2001 From: Lance Helsten Date: Tue, 4 Aug 2015 16:17:53 -0600 Subject: [PATCH] Added info for setup files --- runcoms/zlogin | 28 ++++++++++++++++++++++------ runcoms/zprofile | 24 ++++++++++++++++++++---- runcoms/zshenv | 24 ++++++++++++++++++++---- runcoms/zshrc | 24 ++++++++++++++++++++---- 4 files changed, 82 insertions(+), 18 deletions(-) diff --git a/runcoms/zlogin b/runcoms/zlogin index 9292753d..765cc7b3 100644 --- a/runcoms/zlogin +++ b/runcoms/zlogin @@ -4,12 +4,28 @@ # Do not define alias, functions, options, etc. # Set terminal type # Execute external commands (fortune, msgs, etc) -# -# $ZDOTDIR/.zshenv -# $ZDOTDIR/.zprofile -# $ZDOTDIR/.zshrc -# $ZDOTDIR/.zlogin -# + +# +--------------------+-------+-------+--------+ +# | | Inter | Inter | Script | +# | | Login | | | +# +====================+=======+=======+========+ +# | /etc/zshenv | A | A | A | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zshenv | B | B | B | +# +--------------------+-------+-------+--------+ +# | /etc/zprofile | C | | | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zprofile | D | | | +# +--------------------+-------+-------+--------+ +# | /etc/zshrc | E | C | | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zshrc | F | D | | +# +--------------------+-------+-------+--------+ +# | /etc/zlogin | G | | | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zlogin | H | | | +# +--------------------+-------+-------+--------+ + # Execute code that does not affect the current session in the background. { diff --git a/runcoms/zprofile b/runcoms/zprofile index af4a587b..999b9d07 100644 --- a/runcoms/zprofile +++ b/runcoms/zprofile @@ -3,10 +3,26 @@ # Do not set environment variables # Do not define alias, functions, options, etc. # -# $ZDOTDIR/.zshenv -# $ZDOTDIR/.zprofile -# $ZDOTDIR/.zshrc -# $ZDOTDIR/.zlogin +# +--------------------+-------+-------+--------+ +# | | Inter | Inter | Script | +# | | Login | | | +# +====================+=======+=======+========+ +# | /etc/zshenv | A | A | A | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zshenv | B | B | B | +# +--------------------+-------+-------+--------+ +# | /etc/zprofile | C | | | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zprofile | D | | | +# +--------------------+-------+-------+--------+ +# | /etc/zshrc | E | C | | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zshrc | F | D | | +# +--------------------+-------+-------+--------+ +# | /etc/zlogin | G | | | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zlogin | H | | | +# +--------------------+-------+-------+--------+ # Browser case `/usr/bin/uname -s` in diff --git a/runcoms/zshenv b/runcoms/zshenv index 2ba56b9f..616c5b65 100644 --- a/runcoms/zshenv +++ b/runcoms/zshenv @@ -4,10 +4,26 @@ # Do not produce output # Do not assume tty # -# $ZDOTDIR/.zshenv -# $ZDOTDIR/.zprofile -# $ZDOTDIR/.zshrc -# $ZDOTDIR/.zlogin +# +--------------------+-------+-------+--------+ +# | | Inter | Inter | Script | +# | | Login | | | +# +====================+=======+=======+========+ +# | /etc/zshenv | A | A | A | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zshenv | B | B | B | +# +--------------------+-------+-------+--------+ +# | /etc/zprofile | C | | | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zprofile | D | | | +# +--------------------+-------+-------+--------+ +# | /etc/zshrc | E | C | | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zshrc | F | D | | +# +--------------------+-------+-------+--------+ +# | /etc/zlogin | G | | | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zlogin | H | | | +# +--------------------+-------+-------+--------+ export LANG=en_US.UTF-8 diff --git a/runcoms/zshrc b/runcoms/zshrc index bd78144b..57ca11c7 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -2,10 +2,26 @@ # Set up aliases, functions, options, key bindings, etc. # Do not produce output # -# $ZDOTDIR/.zshenv -# $ZDOTDIR/.zprofile -# $ZDOTDIR/.zshrc -# $ZDOTDIR/.zlogin +# +--------------------+-------+-------+--------+ +# | | Inter | Inter | Script | +# | | Login | | | +# +====================+=======+=======+========+ +# | /etc/zshenv | A | A | A | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zshenv | B | B | B | +# +--------------------+-------+-------+--------+ +# | /etc/zprofile | C | | | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zprofile | D | | | +# +--------------------+-------+-------+--------+ +# | /etc/zshrc | E | C | | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zshrc | F | D | | +# +--------------------+-------+-------+--------+ +# | /etc/zlogin | G | | | +# +--------------------+-------+-------+--------+ +# | $ZDOTDIR/.zlogin | H | | | +# +--------------------+-------+-------+--------+ # # http://zsh.sourceforge.net