From 6b7aa3e42187bf5092096533ea51434468c08cdc Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 2 Oct 2017 12:05:44 -0300 Subject: Status: replace $HOME with ~/ --- status | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/status b/status index 9f364f3..6302d2e 100755 --- a/status +++ b/status @@ -82,8 +82,7 @@ function status_run { # Replace eventual "/mnt/crypt/home/$USER" with "~/" from output # Piping through sed also handles mr's dynamic output weirdness - #mrconfig-updater && mr -m status | sed -e 's|/mnt/crypt/home/[a-Z]*/|~/|' - mrconfig-updater && mr -m status | sed -e "s|/mnt/crypt/home/$USER/|~/|" + mrconfig-updater && mr -m status | sed -e "s|/mnt/crypt/home/$USER/|~/|" -e "s|$HOME|~/|" fi # Check your TODO lists -- cgit v1.2.3