zsh-workers
 help / color / mirror / code / Atom feed
* Possible Bug: 3.1.5-pws-11: compinit
@ 1999-03-14 15:28 Geoff Wing
  1999-03-14 20:32 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Geoff Wing @ 1999-03-14 15:28 UTC (permalink / raw)
  To: zsh-workers

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	"^[[A"	up-line-or-history
bindkey	"^[[B"	down-line-or-history
bindkey	"^[[C"	forward-char
bindkey	"^[[D"	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@pobox.com>            Mobile : (Australia) 0412 162 441
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/


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

* Re: Possible Bug: 3.1.5-pws-11: compinit
  1999-03-14 15:28 Possible Bug: 3.1.5-pws-11: compinit Geoff Wing
@ 1999-03-14 20:32 ` Bart Schaefer
  1999-03-14 22:45   ` Geoff Wing
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 1999-03-14 20:32 UTC (permalink / raw)
  To: mason, zsh-workers

On Mar 14,  3:28pm, Geoff Wing wrote:
} Subject: Possible Bug: 3.1.5-pws-11: compinit
}
}     [[ -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

I can't reproduce this one in pws-12 either.  It behaves differently after
the unsetopt you quoted, but not (that I can tell) after only the setopt,
and it doesn't fail in either case.

} Are any of these supposed to influence it in any way?

Bindkey might if you rebind TAB, C-d, ESC TAB, or ESC C-d.  Which you did't.
The setopts shouldn't (and don't, as far as I can tell).

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


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

* Re: Possible Bug: 3.1.5-pws-11: compinit
  1999-03-14 20:32 ` Bart Schaefer
@ 1999-03-14 22:45   ` Geoff Wing
  0 siblings, 0 replies; 3+ messages in thread
From: Geoff Wing @ 1999-03-14 22:45 UTC (permalink / raw)
  To: zsh-workers

Bart Schaefer <schaefer@brasslantern.com> typed:
:On Mar 14,  3:28pm, Geoff Wing wrote:
:} Subject: Possible Bug: 3.1.5-pws-11: compinit
:}     [[ -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
:I can't reproduce this one in pws-12 either.  It behaves differently after
:the unsetopt you quoted, but not (that I can tell) after only the setopt,
:and it doesn't fail in either case.
:} Are any of these supposed to influence it in any way?
:Bindkey might if you rebind TAB, C-d, ESC TAB, or ESC C-d.  Which you did't.
:The setopts shouldn't (and don't, as far as I can tell).

OK, it's gone away under pws-12 whether as a deliberate fix or otherwise.
-- 
Geoff Wing   <gcw@pobox.com>            Mobile : (Australia) 0412 162 441
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/


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

end of thread, other threads:[~1999-03-14 22:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-14 15:28 Possible Bug: 3.1.5-pws-11: compinit Geoff Wing
1999-03-14 20:32 ` Bart Schaefer
1999-03-14 22:45   ` Geoff Wing

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