zsh-users
 help / color / mirror / code / Atom feed
* Sourcing .zshrc from .zprofile causes problems
@ 2004-08-13  1:02 lists
  2004-08-13  5:11 ` Bart Schaefer
  0 siblings, 1 reply; 8+ messages in thread
From: lists @ 2004-08-13  1:02 UTC (permalink / raw)
  To: zsh-users

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-08-15 18:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-13  1:02 Sourcing .zshrc from .zprofile causes problems lists
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

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).