diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-10-02 12:05:44 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-10-02 12:05:44 -0300 |
commit | 6b7aa3e42187bf5092096533ea51434468c08cdc (patch) | |
tree | 0fa4c73331994ce36aa3ab57f13b98c23c83af1f | |
parent | 2a0ef9f19891906d5ea3d4eac2d85fda68a84f3f (diff) | |
download | scripts-6b7aa3e42187bf5092096533ea51434468c08cdc.tar.gz scripts-6b7aa3e42187bf5092096533ea51434468c08cdc.tar.bz2 |
Status: replace $HOME with ~/
-rwxr-xr-x | status | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |