summaryrefslogtreecommitdiff
path: root/.zshrc
blob: 3b5a768843e2a97179ddd9eb5c223d9ae492eb55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
ZDOTDIR=~/.zsh

if [ -d $ZDOTDIR ]; then
	for script in $ZDOTDIR/*.zsh
	do
		source $script
	done
fi

if [ "`whoami`" = "root" ]
then
	if [ "`pwd`" = ~ ]
	then
		cd /root
	fi
	export HOME=/root
fi
#cd ~