https://github.com/kori/shell.d/blob/master/infinality