dotfiles

git clone git://archive.git.mtrnord.blog/MTRNord/dotfiles.git
Log | Files | Refs | README

df.sh (166B)


      1 #!/bin/bash
      2 # \xe2\x80\x89 is the utf8 representation of \u2009
      3 df -H --output=avail "$1" \
      4     | tail -n1 \
      5     | sed 's/\s*\([0-9.]\+\)\(\w\)\s*/\1\xe2\x80\x89\2/'