From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25562 invoked from network); 13 Aug 2004 01:05:49 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Aug 2004 01:05:49 -0000 Received: (qmail 52605 invoked from network); 13 Aug 2004 01:05:42 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Aug 2004 01:05:42 -0000 Received: (qmail 20267 invoked by alias); 13 Aug 2004 01:05:00 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7819 Received: (qmail 20252 invoked from network); 13 Aug 2004 01:04:59 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 13 Aug 2004 01:04:59 -0000 Received: (qmail 50847 invoked from network); 13 Aug 2004 01:03:01 -0000 Received: from ms-smtp-02.texas.rr.com (HELO ms-smtp-02-eri0.texas.rr.com) (24.93.47.41) by a.mx.sunsite.dk with SMTP; 13 Aug 2004 01:03:00 -0000 Received: from amdxp.kalama.no-ip.org (cs666888-186.austin.rr.com [66.68.88.186]) by ms-smtp-02-eri0.texas.rr.com (8.12.10/8.12.7) with ESMTP id i7D12lHv010557; Thu, 12 Aug 2004 20:02:47 -0500 (CDT) Received: from [10.0.1.100] (mothership.kalama.no-ip.org [10.0.1.100]) by amdxp.kalama.no-ip.org (Postfix) with ESMTP id 6D67C2B6; Thu, 12 Aug 2004 20:02:47 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <7E0A2482-ECC4-11D8-A541-000A95D2C79E@kalama.no-ip.org> Content-Transfer-Encoding: 7bit From: lists Subject: Sourcing .zshrc from .zprofile causes problems Date: Thu, 12 Aug 2004 20:02:47 -0500 To: zsh-users@sunsite.dk X-Mailer: Apple Mail (2.619) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_01,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: -0.0 Hi list, When I put if [[ -f ~/.zshrc ]]; then . ~/.zshrc ; fi in my .zprofile, I get .zshrc:unalias:181: no such hash table element: run-help when launching a new Terminal window (this is under Mac OS 10.3.5 using zsh 4.2.0). Lines 181-183 of my .zshrc file are as follows: unalias run-help autoload run-help HELPDIR=~/.zsh_help run-help is properly unaliased though. The error message goes away when in don't source .zshrc in my .zprofile. However, at that point the following zstyle from my .zshrc file zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} doesn't work when I open a new Terminal window (I don't see colors when I tab). If I do 'exec zsh' in the new window, the zstyle does work. Any ideas? I'll happily post more from the dotfiles if that would help. Thanks