.profile: Fix buggy lsblk detection

This commit is contained in:
Salt 2018-08-10 22:18:18 -05:00
parent a828ff46e6
commit 2ed96c0989

View File

@ -39,7 +39,7 @@ else
fi
# Add an alias for lsblk, since I tend to use that
if [ `which lsblk` ]; then
if [ "`which lsblk > /dev/null 2>&1`" ]; then
alias lsblk='lsblk -p'
alias lsblkf='lsblk -pf'
fi