Index: zshrc ================================================================== --- zshrc +++ zshrc @@ -330,10 +330,20 @@ if __has_command cvs; then cvsd() { cvs diff -uN "$@" | colordiff | less -FRX } fi + +if __has_command screen; then + case "$(uname -s)" in + Linux) + uart() { + screen /dev/ttyUSB${2:=0} ${1:=115200} + } + ;; + esac +fi # pkgsrc does not like MAKEFLAGS including -j __has_command pkg_chk && alias pkg_chk="MAKEFLAGS= pkg_chk" __has_command pkg_rolling-replace &&