summaryrefslogtreecommitdiff
path: root/.zshrc
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2008-02-15 16:37:06 +0100
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:20 +0100
commit4c9f29c2569a24277dd612b947cd29dc5c6ae537 (patch)
tree061d4304155238b62355b1e3e1c75913b97f7f73 /.zshrc
parent694cc2d44082c897c59d44cacaafc5dc2670aa5f (diff)
Réorganisation hiérarchique de la conf per net per host per user.
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc9
1 files changed, 8 insertions, 1 deletions
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