aboutsummaryrefslogtreecommitdiff
path: root/status
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-02 12:05:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-10-02 12:05:44 -0300
commit6b7aa3e42187bf5092096533ea51434468c08cdc (patch)
tree0fa4c73331994ce36aa3ab57f13b98c23c83af1f /status
parent2a0ef9f19891906d5ea3d4eac2d85fda68a84f3f (diff)
downloadscripts-6b7aa3e42187bf5092096533ea51434468c08cdc.tar.gz
scripts-6b7aa3e42187bf5092096533ea51434468c08cdc.tar.bz2
Status: replace $HOME with ~/
Diffstat (limited to 'status')
-rwxr-xr-xstatus3
1 files changed, 1 insertions, 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