Kill git prompt for NOVCSPROMPT too
author |
Steve Losh <steve@stevelosh.com> |
date |
Sat, 01 Feb 2020 20:00:13 -0500 |
parents |
9103f39a983f |
children |
c05932aa401f |
#!/usr/bin/env bash
set -euo pipefail
lsblk -o name,mountpoint,model,label,size,fstype | grep -Pv "^loop" | awk '
NR>1 && /^[a-zA-Z]/ { print "-----------------------------------------------------------------------------------------------------------------------" }
{ print $0 }
'
echo
echo
echo
OUT=$(df -h)
echo "$OUT" | head -1
echo "$OUT" | head -1 | sed 's/./-/g'
echo "$OUT" | tail +2 | grep -Pv '^/dev/loop' | grep -Pv tmpfs | sort -k6