Artifact 8f7332d68e12c2fe3add899baee7f2c0dc4a9f2c13f36a9c32d0eec0bf684606:
- File fish/functions/uart.fish — part of check-in [6be55bde09] at 2022-11-25 22:16:50 on branch trunk — Bring zsh and fish back in sync (user: js, size: 296) [annotate] [blame] [check-ins using]
switch (uname -s) case Linux function uart if not set -q argv[1] set argv[1] 115200 end if not set -q argv[2] set argv[2] 0 end screen /dev/ttyUSB"$argv[2]" "$argv[1]" end end end