File fish/functions/uart.fish artifact 8f7332d68e part of check-in ea6da684e3
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