~ecs/dotfiles

430d6b6d3a7b0725471f81cb10a1047f235b0017 — Evan Johnston a month ago 5ceb82e
dotfiles g: rtfm: fix quoting
1 files changed, 2 insertions(+), 2 deletions(-)

M bin/g
M bin/g => bin/g +2 -2
@@ 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" ;;