From bf7b8c69807b75edae662a6957754dd3a7e1ed6b Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sun, 18 Dec 2022 08:34:08 +0800 Subject: Update --- tools/wiki/diary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wiki/diary b/tools/wiki/diary index ce7a5be..3995ecf 100755 --- a/tools/wiki/diary +++ b/tools/wiki/diary @@ -1,6 +1,6 @@ #! /bin/bash -today=~/log/diary/$(date --iso-8601).md +today=~/log/`date +%y.w%W.md` specify_date() { YEAR=${YEAR:-22} -- cgit v1.2.3-70-g09d2 From 1da0736d887b91d3ff20304fa56d99c4c8c343ff Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sun, 18 Dec 2022 08:53:06 +0800 Subject: In case git repo has no remote --- tools/git/check-repos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/git/check-repos.sh b/tools/git/check-repos.sh index e6f3b6c..5180fc9 100755 --- a/tools/git/check-repos.sh +++ b/tools/git/check-repos.sh @@ -28,7 +28,7 @@ while read repo remote; do changes="$(git -c color.status=always status --short)" # Diff between from local repo and remote - cherry="$(git cherry)" + cherry="$([ -n "`git remote`" ] && git cherry)" if [[ $COUNT_ONLY == true ]]; then # If '-n' is specified, only count repo with changes/local-diff -- cgit v1.2.3-70-g09d2 From e4613c3620d6cbc4b0b535f4f95913c677036d24 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sun, 18 Dec 2022 14:59:01 +0800 Subject: Update --- mutt/default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutt/default b/mutt/default index 91189fd..3e475d6 100644 --- a/mutt/default +++ b/mutt/default @@ -145,7 +145,7 @@ color tilde white black color message cyan black color markers red black color attachment brightred black -color search brightblack white +color search black red color status brightwhite black color indicator white blue color tree magenta black # arrows in threads -- cgit v1.2.3-70-g09d2