~ubuntu-branches/ubuntu/karmic/zsh/karmic

« back to all changes in this revision

Viewing changes to Completion/Base/Widget/_read_comp

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2009-06-02 10:40:25 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090602104025-lg6wynxpzqi08k2i
Tags: 4.3.10-1ubuntu1
* Resynchronise with Debian. Remaining changes:
  + debian/zshrc: Enable completions by default, unless
    skip_global_compinit is set

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#  _read_comp         Last completion string read from user
24
24
 
25
25
# emulate -L zsh
26
 
setopt localoptions extendedglob nobadpattern # xtrace promptsubst
 
26
setopt localoptions extendedglob nobadpattern unset # xtrace promptsubst
27
27
# local PS4='%N:%i:$((#key))> '
28
28
 
 
29
typeset -g _read_comp
29
30
if [[ ${+NUMERIC} = 0 && -n $_read_comp ]]; then
30
31
  if [[ $_read_comp = _* ]]; then
31
32
    eval $_read_comp