From edef99f9935c8a8831aebd86ad58747be04b5e26 Mon Sep 17 00:00:00 2001 From: Jeremy Foote Date: Tue, 16 May 2017 14:09:54 -0500 Subject: [PATCH] Changing to relative location of vc-git.awk --- template/resources/vc-git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/resources/vc-git b/template/resources/vc-git index 557a573..8625f6e 100755 --- a/template/resources/vc-git +++ b/template/resources/vc-git @@ -17,7 +17,7 @@ while [ -n "$(echo $1 | grep '-')" ]; do done # English locale. LC_ALL=C -git --no-pager log -1 HEAD --pretty=format:"Hash: %H%nAbr. Hash: %h%nParent Hashes: %P%nAbr. Parent Hashes: %p%nAuthor Name: %an%nAuthor Email: %ae%nAuthor Date: %ai%nCommitter Name: %cn%nCommitter Email: %ce%nCommitter Date: %ci%n" |gawk -v script=log -v full=$full -f ~/bin/vc-git.awk > vc +git --no-pager log -1 HEAD --pretty=format:"Hash: %H%nAbr. Hash: %h%nParent Hashes: %P%nAbr. Parent Hashes: %p%nAuthor Name: %an%nAuthor Email: %ae%nAuthor Date: %ai%nCommitter Name: %cn%nCommitter Email: %ce%nCommitter Date: %ci%n" |gawk -v script=log -v full=$full -f ./resources/vc-git.awk > vc if [ "$mod" = 1 ] then git status |gawk -v script=status -f ~/bin/vc-git.awk >> vc -- 2.39.5