zsh-workers
 help / color / mirror / code / Atom feed
90447c0af619ccb3aa233d0499e47818c3f380c5 blob 606 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
#compdef cu

local args

case $OSTYPE in
  openbsd*)
    args+=(
      "-d[don't block waiting for a carrier to be detected]"
      '-r[start cu in restricted mode - prevent local operations]'
    )
  ;;
  (net|free)bsd*)
    args+=(
      '-a[set the acu port]:acu'
      '(-o)-e[use even parity]'
      '-h[echo characters locally]'
      '(-e)-o[use odd parity]'
      '-t[connect via a hard-wired connection to a host on a dial-up line]'
    )
  ;;
esac

_arguments -s -A '-*' $args \
  '-l[line to use]:line:(/dev/(cuaU#<->|ttyS<->)(N%c))' \
  '-s[line speed]:line speed:_baudrates' \
  '(-*)1:host:'
debug log:

solving 90447c0af ...
found 90447c0af in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).