summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 7653803..6208cdd 100644
--- a/.zshrc
+++ b/.zshrc
@@ -54,7 +54,7 @@ if [ -d $ZDOTDIR ]; then
done
fi
-if privileged_user
+if [ "$USER" = "root" ]
then
[ "`pwd`" = ~ ] && cd ~root
export HOME=~root