Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Possible Bug: 3.1.5-pws-11: compinit



Heyla,
if I do
    [[ -s ~/fbin/zsh/compinit ]] && . ~/fbin/zsh/compinit
too early in my /etc/zshrc then completion won't work. e.g.
% echo $ZSH_<TAB>         # fails

I had it after autoloading of all $fpath stuff, but before
setopt, bindkey, ulimit, umask
Are any of these supposed to influence it in any way?

--------excerpt-of-/etc/zshrc----------
[[ -n "$fpath" ]] && for dir in $fpath ; do [[ -d $dir ]] && autoload $dir/*(.x:t); done

setopt	APPEND_HISTORY AUTO_CD AUTO_LIST AUTO_MENU AUTO_PUSHD \
 AUTO_REMOVE_SLASH AUTO_RESUME CHASE_LINKS NO_CLOBBER CORRECT \
 CORRECT_ALL EXTENDED_GLOB GLOB_DOTS HIST_IGNORE_DUPS HIST_IGNORE_SPACE \
 IGNORE_EOF INTERACTIVE_COMMENTS KSH_OPTION_PRINT LIST_TYPES LONG_LIST_JOBS \
 MAIL_WARNING MARK_DIRS MENU_COMPLETE NO_NOMATCH NOTIFY NUMERIC_GLOB_SORT \
 PATH_DIRS RECEXACT

unsetopt ALWAYS_LAST_PROMPT BG_NICE ERR_EXIT IGNORE_BRACES LIST_AMBIGUOUS \
 MENU_COMPLETE NO_EXEC NO_RCS NULL_GLOB RM_STAR_SILENT

bindkey -e			# Emacs style key bindings
bindkey	"OA"	up-line-or-history
bindkey	"OB"	down-line-or-history
bindkey	"OC"	forward-char
bindkey	"OD"	backward-char
bindkey	""	up-line-or-history
bindkey	""	down-line-or-history
bindkey	""	forward-char
bindkey	""	backward-char

unlimit				# no soft resource limits
umask 022			# no write access by non-owner

[[ -s ~/fbin/zsh/compinit ]] && . ~/fbin/zsh/compinit
--------end-of-excerpt-of-/etc/zshrc----------

-- 
Geoff Wing   <gcw@xxxxxxxxx>            Mobile : (Australia) 0412 162 441
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/



Messages sorted by: Reverse Date, Date, Thread, Author