summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-01-28 19:06:59 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-01-28 19:06:59 -0800
commit3c2ae811d8de8af92a3264dcd33be88d5fb2a554 (patch)
treeba15d1001d1299995c547f7795dca1dd3e22f524 /etc/bash_completion.d
parent4c5d3a307e6132183ef619e13620afa93b839c89 (diff)
downloadvyatta-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-cfg2
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
}