From: Mart Lubbers Date: Thu, 28 Jun 2018 10:20:02 +0000 (+0200) Subject: free space in bar X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=d60d891ca1f372ad7c586aaa7399ea1c7be08f11;p=dotfiles.git free space in bar --- diff --git a/x/.local/bin/bar b/x/.local/bin/bar index ddff365..8d8d053 100755 --- a/x/.local/bin/bar +++ b/x/.local/bin/bar @@ -1,3 +1,4 @@ #!/bin/sh -echo -n \ - $(date +"%Y-%m-%d %H:%M:%S") +echo \ + "$(date +"%Y-%m-%d %H:%M:%S")"\ + " $(df -h | grep '/$' | awk '{print $4"/"$2}')"