From 4c9f29c2569a24277dd612b947cd29dc5c6ae537 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 15 Feb 2008 16:37:06 +0100 Subject: Réorganisation hiérarchique de la conf per net per host per user. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .zshrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 5c2fb7c..bbea785 100644 --- a/.zshrc +++ b/.zshrc @@ -46,7 +46,14 @@ if [ -d $ZDOTDIR ]; then source $script [ "$DEBUG" = "yes" ] && echo - for i in "net:$DOMAIN" "host:$HOST" "user:$USER" "user:$SUDO_USER" + for i in "net:$DOMAIN"\ + "host:$HOST"\ + "user:$USER"\ + "user:$SUDO_USER"\ + "net:$DOMAIN/host:$HOST"\ + "net:$DOMAIN/user:$USER"\ + "net:$DOMAIN/host:$HOST/user:$USER"\ + "net:$DOMAIN/host:$HOST/user:$SUDO_USER" do specific_script=${script:h}/$i/${${script:t}/??_/} if test -f $specific_script -- cgit v1.2.3