~ecs/public-inbox

dotfiles g: rtfm: posix compliance v1 APPLIED

Evan Johnston: 2
 dotfiles g: rtfm: posix compliance
 dotfiles g: rtfm: fix quoting

 2 files changed, 5 insertions(+), 3 deletions(-)
Thanks!

To git@git.d2evs.net:~ecs/dotfiles
   430d6b6..8cda94d  master -> master
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.d2evs.net/~ecs/public-inbox/patches/11/mbox | git am -3
Learn more about email & git

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

---
 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 Export this patch

---
 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
Thanks!

To git@git.d2evs.net:~ecs/dotfiles
   430d6b6..8cda94d  master -> master