From c367bb44bfdacbd3c7e7e6859400894217d5903e Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Wed, 1 Apr 2015 10:41:31 +0200 Subject: [Zshrc] user before host/domain (hack) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We’ll need to review the recursive process to parse the most specific config file *BEFORE* the top-level ones.. --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 372bdec..8c1a7f6 100644 --- a/zshrc +++ b/zshrc @@ -59,10 +59,10 @@ if [ -d $ZDOTDIR ]; then local root=${2:-$ZDOTDIR} for f in \ + user:$USER \ net:$DOMAIN \ host:$HOST \ sys:$OSNAME \ - user:$USER \ user:$SUDO_USER do if test -d $root/$f -- cgit v1.2.3