diff options
author | Ben Sima <ben@bsima.me> | 2018-06-15 10:32:30 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-06-15 10:32:30 -0700 |
commit | f0e3298e525a2d9688a11b5320845c89d3c3cf1f (patch) | |
tree | 81154ebe79d9bccd7f0b453231cd31020acd0fa4 /me | |
parent | 01711dcf1b748be2dd93ea5da2d05374011495c1 (diff) |
Add me script
Diffstat (limited to 'me')
-rwxr-xr-x | me | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#!/usr/bin/env sh + +# FIXME: replace ~/me with ~/docs + +cur=$PWD + +for d in ~/config/ ~/org/ ~/web/ ~/bin/ ~/.password-store/ ~/me/ +do + cd "${d}" + + status=$(unbuffer git status -sb | tr -d '#') + printf "%-20s: %s\n\n" "${d}" "${status}" +done + +cd "${cur}" |