mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-20 06:56:05 +02:00
43830: _cu: Complete /dev/cu.*
This commit is contained in:
parent
35afea0772
commit
b248b714a9
|
@ -1,3 +1,8 @@
|
|||
2018-11-16 dana <dana@dana.is>
|
||||
|
||||
* Daniel O'Connor: 43830: Completion/BSD/Command/_cu: Complete
|
||||
/dev/cu.* (used by macOS)
|
||||
|
||||
2018-11-15 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* unposted: Completion/Unix/Command/_zcat: support macOS
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue