configs  Check-in [d4ca24fd3f]

Overview
Comment:zshrc: flveri: Print the revision being verified
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d4ca24fd3f9fe5453c013986c46cbf957e88f0c356f45805362c025bc5b93cf6
User & Date: js on 2021-09-14 18:17:16
Other Links: manifest | tags
Context
2021-09-23
22:19
zshrc: Add power_now function check-in: bcaeba8978 user: js tags: trunk
2021-09-14
18:17
zshrc: flveri: Print the revision being verified check-in: d4ca24fd3f user: js tags: trunk
15:59
Add sway config check-in: efe01556c8 user: js tags: trunk
Changes

Modified zshrc from [dd3b047b5a] to [6e5594dce2].

261
262
263
264
265
266
267
268


269
270
271
272
273
274
275
			grep -H "$@" "$file" && ret=0
			[ $? -gt 1 ] && return $?
		done
		return $ret
	}

	flveri() {
		fossil artifact ${1-current} | gpg --verify


	}

	git2fl() {
		local gitdir=$(git rev-parse --show-toplevel)/.git
		local repo=$(fossil info | awk '/^repository:/ { print $2 }')

		[ -z "$repo" ] && repo="$1"







|
>
>







261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
			grep -H "$@" "$file" && ret=0
			[ $? -gt 1 ] && return $?
		done
		return $ret
	}

	flveri() {
		rev="${1-current}"
		echo -e "\033[1m$rev\033[0m"
		fossil artifact "$rev" | gpg --verify
	}

	git2fl() {
		local gitdir=$(git rev-parse --show-toplevel)/.git
		local repo=$(fossil info | awk '/^repository:/ { print $2 }')

		[ -z "$repo" ] && repo="$1"