~ubuntu-branches/ubuntu/lucid/bash-completion/lucid

« back to all changes in this revision

Viewing changes to contrib/p4

  • Committer: Bazaar Package Importer
  • Author(s): James Westby
  • Date: 2009-01-08 10:58:40 UTC
  • mfrom: (5.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20090108105840-z8n4rzlc7d5f6we5
Tags: 20080705ubuntu1
* Merge from Debian, remaining changes: (LP: #314806)
  * Add qdbus completion. (LP: #257903)
  * Fix IFS issue in _umount and correct _get_cword in _postfix
    (LP: #249337)
  * Both changes in upstream bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
        local cur prev prev2 p4commands p4filetypes
8
8
 
9
9
        COMPREPLY=()
10
 
        cur=${COMP_WORDS[COMP_CWORD]}
 
10
        cur=`_get_cword`
11
11
        prev=${COMP_WORDS[COMP_CWORD-1]}
12
12
 
13
13
        # rename isn't really a command