diff options
author | Hugues Hiegel <hugues@hiegel.fr> | 2008-02-15 16:37:06 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2008-03-07 14:15:20 +0100 |
commit | 4c9f29c2569a24277dd612b947cd29dc5c6ae537 (patch) | |
tree | 061d4304155238b62355b1e3e1c75913b97f7f73 /.zshrc | |
parent | 694cc2d44082c897c59d44cacaafc5dc2670aa5f (diff) |
Réorganisation hiérarchique de la conf per net per host per user.
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |