about summary refs log tree commit diff
path: root/Completion/BSD
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-01-11 17:46:08 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-01-13 00:56:50 +0000
commit152875ba03797e788397be7a3af6c09391dce9f0 (patch)
tree1c1bed175cfff6094e2e21f59de8a4df7bbbec6c /Completion/BSD
parent5731581c4ce8dc9a918445f6bbac2051674ee4b5 (diff)
downloadzsh-152875ba03797e788397be7a3af6c09391dce9f0.tar.gz
zsh-152875ba03797e788397be7a3af6c09391dce9f0.tar.xz
zsh-152875ba03797e788397be7a3af6c09391dce9f0.zip
37550: _cu: Support Linux line-device names; fail gracefully on OSes matching no known line-device name pattern.
Diffstat (limited to 'Completion/BSD')
-rw-r--r--Completion/BSD/Command/_cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/BSD/Command/_cu b/Completion/BSD/Command/_cu
index d4658e397..bdd579519 100644
--- a/Completion/BSD/Command/_cu
+++ b/Completion/BSD/Command/_cu
@@ -2,6 +2,6 @@
 
 _arguments -s -A '-*' \
   '-d[do not block waiting for a carrier to be detected]' \
-  '-l[line to use]:line:(/dev/cuaU#<->(%))' \
+  '-l[line to use]:line:(/dev/(cuaU#<->|ttyS<->)(N%c))' \
   '-s[line speed]:line speed:(75 110 300 1200 2400 4800 9600 19200 38400 57600 115200)' \
   '(-*)1:host:'