[Bash-completion-commits] ./current r1132: fixed COMPREPLY's in _iwconfig
David Paleino
d.paleino at gmail.com
Mon Jun 23 09:16:05 UTC 2008
------------------------------------------------------------
revno: 1132
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Mon 2008-06-23 11:16:05 +0200
message:
fixed COMPREPLY's in _iwconfig
modified:
bash_completion
debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion 2008-06-23 09:14:11 +0000
+++ b/bash_completion 2008-06-23 09:16:05 +0000
@@ -1104,7 +1104,7 @@
essid)
COMPREPLY=( $( compgen -W 'on off any' -- $cur ) )
if [ -n "${COMP_IWLIST_SCAN:-}" ]; then
- COMPREPLY=( "${COMPREPLY[@]:-}" \
+ COMPREPLY=( "${COMPREPLY[@]}" \
$( iwlist ${COMP_WORDS[1]} scan | \
awk -F '"' '/ESSID/ {print $2}' | \
grep "^$cur" ))
@@ -1131,7 +1131,7 @@
ap)
COMPREPLY=( $( compgen -W 'on off any' -- $cur ) )
if [ -n "${COMP_IWLIST_SCAN:-}" ]; then
- COMPREPLY=( "${COMPREPLY[@]:-}" \
+ COMPREPLY=( "${COMPREPLY[@]}" \
$( iwlist ${COMP_WORDS[1]} scan | \
awk -F ': ' '/Address/ {print $2}' | \
grep "^$cur" ) )
@@ -1140,7 +1140,7 @@
;;
rate)
COMPREPLY=( $( compgen -W 'auto fixed' -- $cur ) )
- COMPREPLY=( "${COMPREPLY[@]:-}" \
+ COMPREPLY=( "${COMPREPLY[@]}" \
$( iwlist ${COMP_WORDS[1]} rate | \
awk '/^[[:space:]]*[0-9]/ {print $1"M"}' | \
grep "^$cur" ) )
=== modified file 'debian/changelog'
--- a/debian/changelog 2008-06-23 09:13:08 +0000
+++ b/debian/changelog 2008-06-23 09:16:05 +0000
@@ -4,8 +4,9 @@
- added quote(), quote_readline(), dequote() helper functions.
- fixed _get_cword()
- refactored _filedir using quote_readline()
+ - fixed COMPREPLY's in _iwconfig
- -- David Paleino <d.paleino at gmail.com> Mon, 23 Jun 2008 11:12:28 +0200
+ -- David Paleino <d.paleino at gmail.com> Mon, 23 Jun 2008 11:15:48 +0200
bash-completion (20080617.3) unstable; urgency=low
More information about the Bash-completion-commits
mailing list