From aa105a2314ef4c600099899a75928b171f2b06d9 Mon Sep 17 00:00:00 2001 From: hugues Date: Mon, 7 May 2007 08:14:04 +0000 Subject: Erreurs avec hostname quand le nom de la machine n'a pas été positionné MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+ssh://hugues@maison/opt/svn/private/hugues@365 a0e5b806-a6f9-0310-978d-cbce73f8a913 --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zshrc') 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 -- cgit v1.2.3