summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorhugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913>2005-06-17 13:58:06 +0000
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:06 +0100
commitd0fff3693eacf480f5a73e460ebd09e1dcf5db03 (patch)
treec0f66f72113e8351f9c82b818f595089c4eccf50 /.zshrc
parent2f6e4a3f5a3d91852cfc2b47aa89ed9ee62af4d1 (diff)
Mise au propre du repository...
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@131 a0e5b806-a6f9-0310-978d-cbce73f8a913
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 ~
+