diff options
author | hugues <hugues@a0e5b806-a6f9-0310-978d-cbce73f8a913> | 2007-05-07 08:14:04 +0000 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 14:15:11 +0100 |
commit | aa105a2314ef4c600099899a75928b171f2b06d9 (patch) | |
tree | 1e193f9ca9e93c514d3abedad943a9ba57dcc30e /.zshrc | |
parent | a176e5f80b38a111b04ccf14b3f41c24581a1617 (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-- | .zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |