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

« back to all changes in this revision

Viewing changes to Completion/Unix/Type/_pids

  • 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:
45
45
 
46
46
  case "$out" in
47
47
  menu)   compstate[insert]=menu ;;
48
 
  single) [[ $compstate[nmatches] -ne nm+1 ]] && compstate[insert]= ;;
 
48
  single) [[ $compstate[nmatches] -ne nm+1 && $compstate[insert] != menu ]] &&
 
49
              compstate[insert]= ;;
49
50
  *)      [[ ${#:-$PREFIX$SUFFIX} -gt ${#compstate[unambiguous]} ]] &&
50
51
              compstate[insert]=menu ;;
51
52
  esac