]> rtime.felk.cvut.cz Git - sojka/sterm.git/blobdiff - completion.zsh
Allow sending break signal
[sojka/sterm.git] / completion.zsh
index b803ab95edfea8df80c97a951cdb048a3a5e8016..09a6a7e29d4bdaa2eb875f24f6916125c7bc14d9 100644 (file)
@@ -6,6 +6,7 @@ _sterm_defs() {
                "--help[Output help message]" \
                "-h[Print help text]" \
                "-s[Set baudrate]" \
+               "-b[Send break]" \
                "-c[Enter command mode]" \
                "-d[Make pulse on DTR]" \
                "-r[Make pulse on RTS]" \
@@ -19,7 +20,7 @@ _sterm() {
        if (( CURRENT > 2)); then
                local prev=${words[(( CURRENT - 1))]}
                case "${prev}" in
-                       -d|-r)
+                       -b|-d|-r)
                                # No completion for these
                                ;;
                        -s)