[Bash-completion-commits] ./current r1311: use _get_cword
Guillaume Rousse
guillomovitch at zarb.org
Wed Feb 4 20:33:43 UTC 2009
------------------------------------------------------------
revno: 1311
committer: Guillaume Rousse <guillomovitch at zarb.org>
branch nick: current
timestamp: Wed 2009-02-04 21:33:43 +0100
message:
use _get_cword
modified:
to_review/cowsay
to_review/ldapvi
to_review/rpcdebug
to_review/smartmontools
-------------- next part --------------
=== modified file 'to_review/cowsay'
--- a/to_review/cowsay 2009-02-04 20:28:58 +0000
+++ b/to_review/cowsay 2009-02-04 20:33:43 +0000
@@ -9,7 +9,7 @@
local cur prev
COMPREPLY=()
- cur=${COMP_WORDS[COMP_CWORD]}
+ cur=`_get_cword`
prev=${COMP_WORDS[COMP_CWORD-1]}
case $prev in
=== modified file 'to_review/ldapvi'
--- a/to_review/ldapvi 2009-02-04 20:26:43 +0000
+++ b/to_review/ldapvi 2009-02-04 20:33:43 +0000
@@ -9,7 +9,7 @@
local cur prev
COMPREPLY=()
- cur=${COMP_WORDS[COMP_CWORD]}
+ cur=`_get_cword`
prev=${COMP_WORDS[COMP_CWORD-1]}
case "$prev" in
=== modified file 'to_review/rpcdebug'
--- a/to_review/rpcdebug 2009-02-04 20:31:25 +0000
+++ b/to_review/rpcdebug 2009-02-04 20:33:43 +0000
@@ -27,7 +27,7 @@
local cur prev
COMPREPLY=()
- cur=${COMP_WORDS[COMP_CWORD]}
+ cur=`_get_cword`
prev=${COMP_WORDS[COMP_CWORD-1]}
case $prev in
=== modified file 'to_review/smartmontools'
--- a/to_review/smartmontools 2009-02-04 20:23:49 +0000
+++ b/to_review/smartmontools 2009-02-04 20:33:43 +0000
@@ -58,7 +58,7 @@
local cur prev
COMPREPLY=()
- cur=${COMP_WORDS[COMP_CWORD]}
+ cur=`_get_cword`
prev=${COMP_WORDS[COMP_CWORD-1]}
# --name value style option
More information about the Bash-completion-commits
mailing list