summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
new file mode 100644
index 0000000..3b5a768
--- /dev/null
+++ b/.zshrc
@@ -0,0 +1,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 ~
+