Browse Source

allow local customization

master
xenua 2 years ago
parent
commit
f77abf061f
Signed by: xenua
GPG Key ID: 8F93B68BD37255B8
  1. 3
      runcoms/zlogin
  2. 3
      runcoms/zlogout
  3. 2
      runcoms/zprofile
  4. 3
      runcoms/zshenv
  5. 3
      runcoms/zshrc

3
runcoms/zlogin

@ -24,3 +24,6 @@ if [[ -o INTERACTIVE && -t 2 ]]; then @@ -24,3 +24,6 @@ if [[ -o INTERACTIVE && -t 2 ]]; then
fi
fi >&2
source .zlocal/login 2> /dev/null || true

3
runcoms/zlogout

@ -17,3 +17,6 @@ SAYINGS=( @@ -17,3 +17,6 @@ SAYINGS=(
echo $SAYINGS[$(($RANDOM % ${#SAYINGS} + 1))]
} >&2
source '.zlocal/logout' 2> /dev/null || true

2
runcoms/zprofile

@ -66,3 +66,5 @@ if [[ -z "$LESSOPEN" ]] && (( $#commands[(i)lesspipe(|.sh)] )); then @@ -66,3 +66,5 @@ if [[ -z "$LESSOPEN" ]] && (( $#commands[(i)lesspipe(|.sh)] )); then
export LESSOPEN="| /usr/bin/env $commands[(i)lesspipe(|.sh)] %s 2>&-"
fi
source .zlocal/profile 2> /dev/null || true

3
runcoms/zshenv

@ -9,3 +9,6 @@ @@ -9,3 +9,6 @@
if [[ ( "$SHLVL" -eq 1 && ! -o LOGIN ) && -s "${ZDOTDIR:-$HOME}/.zprofile" ]]; then
source "${ZDOTDIR:-$HOME}/.zprofile"
fi
source .zlocal/env 2> /dev/null || true

3
runcoms/zshrc

@ -27,3 +27,6 @@ if type pyenv > /dev/null; then @@ -27,3 +27,6 @@ if type pyenv > /dev/null; then
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
fi
source .zlocal/rc 2> /dev/null || true

Loading…
Cancel
Save