From: Silvio Rhatto Date: Mon, 2 Oct 2017 15:05:44 +0000 (-0300) Subject: Status: replace $HOME with ~/ X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6b7aa3e42187bf5092096533ea51434468c08cdc;p=scripts.git Status: replace $HOME with ~/ --- 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