summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/.zshrc b/.zshrc
index 52d980b..503d0d4 100644
--- a/.zshrc
+++ b/.zshrc
@@ -57,9 +57,9 @@ if [ -d $ZDOTDIR ]; then
fi
# For sudo shells
-if [ "$USER" = "root" ]
-then
- [ "`pwd`" = ~ ] && cd ~root
- export HOME=~root
-fi
+#if [ "$USER" = "root" ]
+#then
+ [ "`pwd`" = ~ ] && cd ~$USER
+ export HOME=~$USER
+#fi