summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorhugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913>2007-05-07 08:14:04 +0000
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:11 +0100
commitaa105a2314ef4c600099899a75928b171f2b06d9 (patch)
tree1e193f9ca9e93c514d3abedad943a9ba57dcc30e /.zshrc
parenta176e5f80b38a111b04ccf14b3f41c24581a1617 (diff)
Erreurs avec hostname quand le nom de la machine n'a pas été positionné
git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@365 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 8f6bd38..39ad266 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 2>/dev/null`"
+ for i in "host:`hostname -s 2>/dev/null`" "user:`whoami`" "net:`hostname -d 2>/dev/null`"
do
specific_script=${script:h}/$i/${${script:t}/??_/}
[ -f $specific_script ] && source $specific_script