summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913>2007-07-30 09:31:35 +0000
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:15 +0100
commit423bc13e88dce0aa512944f453d4110741b44f9b (patch)
treedcb864a684fbc69ca912e8b38e2df87e066c649d
parent9933c0ec3cc398988b3e333c06046884aede0dc5 (diff)
Sudo shells for EVERYOOOOONE :)
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@517 a0e5b806-a6f9-0310-978d-cbce73f8a913
-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