configs  Check-in [bd77a10bc6]

Overview
Comment:zshrc: Add uart command
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: bd77a10bc61a06b7273a77e45a207fd0e1bb6509221a38c7534890ab368a5c36
User & Date: js 2021-04-05 20:06:33
Context
2021-05-06
22:22
Add "Deutsch (KOY).keylayout" check-in: 9e225d1e41 user: js tags: trunk
2021-04-05
20:06
zshrc: Add uart command check-in: bd77a10bc6 user: js tags: trunk
2021-03-29
23:01
Add cycle_asus_fan.sh check-in: e96bea889a user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to zshrc.

328
329
330
331
332
333
334










335
336
337
338
339
340
341
fi

if __has_command cvs; then
	cvsd() {
		cvs diff -uN "$@" | colordiff | less -FRX
	}
fi











# pkgsrc does not like MAKEFLAGS including -j
__has_command pkg_chk &&
	alias pkg_chk="MAKEFLAGS= pkg_chk"
__has_command pkg_rolling-replace &&
	alias pkg_rolling-replace="MAKEFLAGS= pkg_rolling-replace"
__has_command url2pkg &&







>
>
>
>
>
>
>
>
>
>







328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
fi

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 &&
	alias pkg_rolling-replace="MAKEFLAGS= pkg_rolling-replace"
__has_command url2pkg &&