From 4ffe8a44461c9036c0a5e5cb5fdec7e61b584123 Mon Sep 17 00:00:00 2001
From: Ben Sima <ben@bsima.me>
Date: Fri, 15 Jun 2018 10:41:20 -0700
Subject: Print a better dirname

---
 me | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/me b/me
index 1d7c3a9..46e8215 100755
--- a/me
+++ b/me
@@ -8,8 +8,9 @@ for d in ~/config/ ~/org/ ~/web/ ~/bin/ ~/.password-store/ ~/me/
 do
     cd "${d}"
 
+    dirname=${d/\/home\/ben/\~}
     status=$(unbuffer git status -sb | tr -d '#')
-    printf "%-20s: %s\n\n" "${d}" "${status}"
+    printf "%-20s: %s\n\n" "${dirname}" "${status}"
 done
 
 cd "${cur}"
-- 
cgit v1.2.3