configs  Check-in [15fc9f571f]

Overview
Comment:Add flpu, a combination of fossil pull & up
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 15fc9f571f054513275d02e5fa5fc2399e4b7685f9af6e21cf24c473368b32d2
User & Date: js 2021-01-01 22:00:05
Context
2021-01-02
21:40
zshrc: Add flveri command to verify Fossil commits check-in: 74956b9a7d user: js tags: trunk
2021-01-01
22:00
Add flpu, a combination of fossil pull & up check-in: 15fc9f571f user: js tags: trunk
2020-12-31
05:25
Switch to xscreensaver check-in: 13504a1a8d user: js tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added fish/functions/flpu.fish.







>
>
>
1
2
3
function flpu --wraps='fossil update'
    fossil pull && fossil update $argv
end

Changes to zshrc.

246
247
248
249
250
251
252




253
254
255
256
257
258
259
if __has_command fossil; then
	alias fl="fossil"
	alias flc="fossil changes --differ"

	fld() {
		fossil diff -N "$@" | colordiff | less -FRX
	}





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







>
>
>
>







246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
if __has_command fossil; then
	alias fl="fossil"
	alias flc="fossil changes --differ"

	fld() {
		fossil diff -N "$@" | colordiff | less -FRX
	}

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

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