zsh-users
 help / color / mirror / code / Atom feed
From: lists <lists@kalama.no-ip.org>
To: zsh-users@sunsite.dk
Subject: Sourcing .zshrc from .zprofile causes problems
Date: Thu, 12 Aug 2004 20:02:47 -0500	[thread overview]
Message-ID: <7E0A2482-ECC4-11D8-A541-000A95D2C79E@kalama.no-ip.org> (raw)

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


             reply	other threads:[~2004-08-13  1:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-13  1:02 lists [this message]
2004-08-13  5:11 ` Bart Schaefer
2004-08-13  6:55   ` Philippe Troin
2004-08-14 15:31   ` Resolved: " lists
2004-08-14 18:20     ` Vincent Lefevre
2004-08-15  4:58       ` Wayne Davison
2004-08-15 13:54         ` Vincent Lefevre
2004-08-15 18:38         ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7E0A2482-ECC4-11D8-A541-000A95D2C79E@kalama.no-ip.org \
    --to=lists@kalama.no-ip.org \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).