[Bash-completion-commits] ./current r1278: use _get_cword
Guillaume Rousse
guillomovitch at zarb.org
Mon Jan 19 21:05:51 UTC 2009
------------------------------------------------------------
revno: 1278
committer: Guillaume Rousse <guillomovitch at zarb.org>
branch nick: current
timestamp: Mon 2009-01-19 22:05:51 +0100
message:
use _get_cword
modified:
to_review/xm
-------------- next part --------------
=== modified file 'to_review/xm'
--- a/to_review/xm 2009-01-19 21:03:05 +0000
+++ b/to_review/xm 2009-01-19 21:05:51 +0000
@@ -19,7 +19,7 @@
local cur prev command options
COMPREPLY=()
- cur=${COMP_WORDS[COMP_CWORD]}
+ cur=`_get_cword`
commands='console create new delete destroy domid domname dump-core \
list mem-max mem-set migrate pause reboot rename restore \
More information about the Bash-completion-commits
mailing list