configs  Check-in [28d3f409cc]

Overview
Comment:zshrc: Improve flgrep
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA3-256: 28d3f409cc527be9f4cfaae11eb49b741d14a1c8530a722e0ff042936c1ce738
User & Date: js 2025-04-15 23:52:40
Context
2025-04-15
23:52
zshrc: Improve flgrep Leaf check-in: 28d3f409cc user: js tags: trunk
2025-04-12
14:51
vim: Only use inkpod on 256 color terminal check-in: adda710205 user: js tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to zshrc.

284
285
286
287
288
289
290
291

292
293
294
295
296
297
298
284
285
286
287
288
289
290

291
292
293
294
295
296
297
298







-
+








	flpu() {
		fossil pull && fossil update "$@"
	}

	flgrep() {
		local ret=1
		fossil changes --all . | awk '{print $2}' | while read file; do
		fossil changes --no-classify --all . | while read file; do
			grep -H "$@" "$file" && ret=0
			[ $? -gt 1 ] && return $?
		done
		return $ret
	}

	flveri() {