about summary refs log tree commit diff
path: root/Completion/BSD
diff options
context:
space:
mode:
authorDaniel O'Connor <darius@dons.net.au>2018-11-16 21:36:53 -0600
committerdana <dana@dana.is>2018-11-16 21:36:53 -0600
commitb248b714a9175e6a3b617ffb2e6078575aa2c07c (patch)
tree813d2318cfbc1277f4ad268e55014ea68276e963 /Completion/BSD
parent35afea07724dce143a3b6113002727cbc034b5ef (diff)
downloadzsh-b248b714a9175e6a3b617ffb2e6078575aa2c07c.tar.gz
zsh-b248b714a9175e6a3b617ffb2e6078575aa2c07c.tar.xz
zsh-b248b714a9175e6a3b617ffb2e6078575aa2c07c.zip
43830: _cu: Complete /dev/cu.*
Diffstat (limited to 'Completion/BSD')
-rw-r--r--Completion/BSD/Command/_cu4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/BSD/Command/_cu b/Completion/BSD/Command/_cu
index 1fe08601f..df38d6ed7 100644
--- a/Completion/BSD/Command/_cu
+++ b/Completion/BSD/Command/_cu
@@ -32,7 +32,7 @@ case $variant in
       '(-E --escape)'{-E+,--escape=}'[specify escape character]:escape character [~]'
       '(-a -p --port)'{-a+,-p+,--port=}'[specify the port]:port'
       '(-c --phone -n --prompt)'{-c+,--phone=}'[specify phone number to call]:phone number'
-      '(1 -l -z --system)--line=[specify line to use]:line:(/dev/(cuaU#<->|ttyS<->|tty.*)(N%c))'
+      '(1 -l -z --system)--line=[specify line to use]:line:(/dev/(cuaU#<->|ttyS<->|tty.*|cu.*)(N%c))'
     )
   ;|
   taylor)
@@ -63,5 +63,5 @@ esac
 
 _arguments -s $args \
   '(--speed)-s+[set line speed for the connection]:line speed [9600]:_baudrates' \
-  '(1 --line -z --system)-l+[specify line to use]:line:(/dev/(cuaU#<->|ttyS<->|tty.*)(N%c))' \
+  '(1 --line -z --system)-l+[specify line to use]:line:(/dev/(cuaU#<->|ttyS<->|tty.*|cu.*)(N%c))' \
   '1: :_guard "^-*" system'