~ecs/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH 1/2] dotfiles g: rtfm: posix compliance

Evan Johnston <evan@d2evs.net>
Details
Message ID
<20210913190507.12635-1-evan@d2evs.net>
DKIM signature
missing
Download raw message
Patch: +3 -1
---
 bin/g | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/g b/bin/g
index cd9e083..348d96d 100755
--- a/bin/g
@@ -30,7 +30,9 @@ case "$CMD" in
	"pf") CMD="push -f" ;;
	"r") CMD="rm" ;;
	"rc") CMD="rm --cached" ;;
	"rtfm") exec man $(find /usr/share/man -name "git-*" | sed "s/.*\///;s/\..*//" | shuf -n1) ;;
	"rtfm") exec man $(find /usr/share/man -name "git-*" | awk \
		'BEGIN {srand()}{gsub(/.*\//, ""); sub(/\..*$/, "");\
		print rand() * 1000000 "\t" $0}' | sort -n | head -n1 | cut -f2-) ;;
	"s") CMD="status" ;;
	"se") export GIT_EDITOR="$EDITOR" CMD="send-email" ;;
	"sl") CMD="shortlog" ;;
-- 
2.33.0

[PATCH 2/2] dotfiles g: rtfm: fix quoting

Evan Johnston <evan@d2evs.net>
Details
Message ID
<20210913190507.12635-2-evan@d2evs.net>
In-Reply-To
<20210913190507.12635-1-evan@d2evs.net> (view parent)
DKIM signature
missing
Download raw message
Patch: +2 -2
---
 bin/g | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/g b/bin/g
index 348d96d..907e306 100755
--- a/bin/g
@@ -30,9 +30,9 @@ case "$CMD" in
	"pf") CMD="push -f" ;;
	"r") CMD="rm" ;;
	"rc") CMD="rm --cached" ;;
	"rtfm") exec man $(find /usr/share/man -name "git-*" | awk \
	"rtfm") exec man "$(find /usr/share/man -name "git-*" | awk \
		'BEGIN {srand()}{gsub(/.*\//, ""); sub(/\..*$/, "");\
		print rand() * 1000000 "\t" $0}' | sort -n | head -n1 | cut -f2-) ;;
		print rand() * 1000000 "\t" $0}' | sort -n | head -n1 | cut -f2-)" ;;
	"s") CMD="status" ;;
	"se") export GIT_EDITOR="$EDITOR" CMD="send-email" ;;
	"sl") CMD="shortlog" ;;
-- 
2.33.0

Re: [PATCH 2/2] dotfiles g: rtfm: fix quoting

Details
Message ID
<CE92KLJEE2N0.3K0QNGHUQ0GVP@monch>
In-Reply-To
<20210913190507.12635-2-evan@d2evs.net> (view parent)
DKIM signature
missing
Download raw message
Thanks!

To git@git.d2evs.net:~ecs/dotfiles
   430d6b6..8cda94d  master -> master
Reply to thread Export thread (mbox)