aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/status9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/status b/bin/status
new file mode 100755
index 0000000..9e4e888
--- /dev/null
+++ b/bin/status
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -eu
+
+repos ~/src |
+ xargs -P`nproc` -I{} sh -c "cd \$0 &&
+ printf '%s\t%s\n' \\
+ \"\$(color -c yellowb \"\$PWD\" |
+ sed \"s|\$HOME|~|\")\" \\
+ \"\$(vcs ps1)\"" {}