-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
executable file
·53 lines (44 loc) · 1.04 KB
/
zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
NOISY=1
if [ $NOISY ]; then
echo 'NOISY is ON'
echo "reading ~/Library/init/zsh/zshrc"
fi
default_zsh_initdir=/Library/init/zsh
user_zsh_initdir=~/Library/init/zsh
if [ -r "${default_zsh_initdir}" ]; then
zsh_initdir="${default_zsh_initdir}"
else
zsh_initdir="${user_zsh_initdir}"
fi
##
# Source environment variable definitions
##
if [ -f "${zsh_initdir}"/environment ]; then
. "${zsh_initdir}"/environment
fi
##
# Read user's environment variable definitions
##
if [ -f "${user_zsh_initdir}"/environment.mine ]; then
. "${user_zsh_initdir}"/environment.mine
fi
# Source alias definitions
if [ -f "${zsh_initdir}"/aliases ]; then
. "${zsh_initdir}"/aliases
fi
##
# Read user's alias definitions
##
if [ -f "${user_zsh_initdir}"/aliases.mine ]; then
. "${user_zsh_initdir}"/aliases.mine
fi
# Source function definitions
if [ -f "${zsh_initdir}"/functions ]; then
. "${zsh_initdir}"/functions
fi
##
# Read user's environment variable definitions
##
if [ -f "${user_zsh_initdir}"/functions.mine ]; then
. "${user_zsh_initdir}"/functions.mine
fi