summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorhugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913>2006-09-14 19:48:08 +0000
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:10 +0100
commit2052b6ba7ecd7ba7a719a8826cdfc1a1a228cafc (patch)
tree673173e56b19019fad503dff7f0ebe84764b073a /.zshrc
parentdb03a6f3b0e417f5ee09d3f79cecb9c3d1a95e2b (diff)
Ptit hack pour l'iBook.
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@271 a0e5b806-a6f9-0310-978d-cbce73f8a913
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 3758f4c..8f6bd38 100644
--- a/.zshrc
+++ b/.zshrc
@@ -30,7 +30,7 @@ if [ -d $ZDOTDIR ]; then
[ "$DEBUG" != "" ] && echo "${${script:t:r}/??_/}... ";
source $script
- for i in "host:`hostname -s`" "user:`whoami`" "net:`hostname -d`"
+ for i in "host:`hostname -s`" "user:`whoami`" "net:`hostname -d 2>/dev/null`"
do
specific_script=${script:h}/$i/${${script:t}/??_/}
[ -f $specific_script ] && source $specific_script