From 152875ba03797e788397be7a3af6c09391dce9f0 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Mon, 11 Jan 2016 17:46:08 +0000 Subject: 37550: _cu: Support Linux line-device names; fail gracefully on OSes matching no known line-device name pattern. --- Completion/BSD/Command/_cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/BSD') 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:' -- cgit 1.4.1