configs  Check-in [ca12553441]

Overview
Comment:Only apply flgrep to current directory & children
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ca125534419b8009ff962894b034cbd0d684322f8e30384048dcf68ece0a4457
User & Date: js on 2020-08-15 15:52:57
Other Links: manifest | tags
Context
2020-08-18
21:16
fld.fish: Fallback for when colordiff is missing check-in: 37f5866f0b user: js tags: trunk
2020-08-15
15:52
Only apply flgrep to current directory & children check-in: ca12553441 user: js tags: trunk
15:25
Add flgrep to grep tracked files in a Fossil repo check-in: b6c2a67aab user: js tags: trunk
Changes

Modified zshrc from [b46b9cd313] to [c85bdb2185].

223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
			fossil diff -N "$@" | sed "s/^+.*$/$green&$reset/" |
				sed "s/^-.*$/$red&$reset/" | less -FRX
		fi
	}

	flgrep() {
		local ret=1
		fossil changes --all | sed 's/^.*  //' | while read file; do
			grep -H "$@" "$file" && ret=0
			[ $? -gt 1 ] && return $?
		done
		return $ret
	}

	git2fl() {







|







223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
			fossil diff -N "$@" | sed "s/^+.*$/$green&$reset/" |
				sed "s/^-.*$/$red&$reset/" | less -FRX
		fi
	}

	flgrep() {
		local ret=1
		fossil changes --all . | sed 's/^.*  //' | while read file; do
			grep -H "$@" "$file" && ret=0
			[ $? -gt 1 ] && return $?
		done
		return $ret
	}

	git2fl() {