diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-28 19:06:59 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-28 19:06:59 -0800 |
commit | 3c2ae811d8de8af92a3264dcd33be88d5fb2a554 (patch) | |
tree | ba15d1001d1299995c547f7795dca1dd3e22f524 /etc/bash_completion.d | |
parent | 4c5d3a307e6132183ef619e13620afa93b839c89 (diff) | |
download | vyatta-cfg-3c2ae811d8de8af92a3264dcd33be88d5fb2a554.tar.gz vyatta-cfg-3c2ae811d8de8af92a3264dcd33be88d5fb2a554.zip |
* don't require backslash line-continuation in expressions.
* make comment terminate the previous field.
* add standalone test.
Diffstat (limited to 'etc/bash_completion.d')
-rw-r--r-- | etc/bash_completion.d/20vyatta-cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index 60676fe..6a411de 100644 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -360,7 +360,7 @@ vyatta_parse_tmpl_comp_fields () :b $ { x; p; q } n - /^[-_a-z]\+:/ { x; p; q } + /^\([-_a-z]\+:\|#\)/ { x; p; q } H bb } |