diff options
author | Hsieh Chin Fan <typebrook@topo.tw> | 2022-12-18 17:48:18 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@topo.tw> | 2022-12-18 17:48:18 +0800 |
commit | 61ca7a63deef169d78ab5b0076a8796ec06bb9e3 (patch) | |
tree | 13cc3bd72e45fc693f55c37d58ab75a71519c214 | |
parent | c6f959b4a3f804c62b5d2ad86385ba7173e1b5ee (diff) | |
parent | e4613c3620d6cbc4b0b535f4f95913c677036d24 (diff) |
Merge remote-tracking branch 'origin/dev' into dev
-rw-r--r-- | mutt/default | 2 | ||||
-rwxr-xr-x | tools/git/check-repos.sh | 2 | ||||
-rwxr-xr-x | tools/wiki/diary | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mutt/default b/mutt/default index 5b43aff..d30c299 100644 --- a/mutt/default +++ b/mutt/default | |||
@@ -145,7 +145,7 @@ color tilde white black | |||
145 | color message cyan black | 145 | color message cyan black |
146 | color markers red black | 146 | color markers red black |
147 | color attachment brightred black | 147 | color attachment brightred black |
148 | color search brightblack white | 148 | color search black red |
149 | color status brightwhite black | 149 | color status brightwhite black |
150 | color indicator white blue | 150 | color indicator white blue |
151 | color tree magenta black # arrows in threads | 151 | color tree magenta black # arrows in threads |
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 | |||
28 | changes="$(git -c color.status=always status --short)" | 28 | changes="$(git -c color.status=always status --short)" |
29 | 29 | ||
30 | # Diff between from local repo and remote | 30 | # Diff between from local repo and remote |
31 | cherry="$(git cherry)" | 31 | cherry="$([ -n "`git remote`" ] && git cherry)" |
32 | 32 | ||
33 | if [[ $COUNT_ONLY == true ]]; then | 33 | if [[ $COUNT_ONLY == true ]]; then |
34 | # If '-n' is specified, only count repo with changes/local-diff | 34 | # If '-n' is specified, only count repo with changes/local-diff |
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 @@ | |||
1 | #! /bin/bash | 1 | #! /bin/bash |
2 | 2 | ||
3 | today=~/log/diary/$(date --iso-8601).md | 3 | today=~/log/`date +%y.w%W.md` |
4 | 4 | ||
5 | specify_date() { | 5 | specify_date() { |
6 | YEAR=${YEAR:-22} | 6 | YEAR=${YEAR:-22} |