summaryrefslogtreecommitdiff
path: root/me
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-06-15 10:32:30 -0700
committerBen Sima <ben@bsima.me>2018-06-15 10:32:30 -0700
commitf0e3298e525a2d9688a11b5320845c89d3c3cf1f (patch)
tree81154ebe79d9bccd7f0b453231cd31020acd0fa4 /me
parent01711dcf1b748be2dd93ea5da2d05374011495c1 (diff)
Add me script
Diffstat (limited to 'me')
-rwxr-xr-xme15
1 files changed, 15 insertions, 0 deletions
diff --git a/me b/me
new file mode 100755
index 0000000..1d7c3a9
--- /dev/null
+++ b/me
@@ -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}"