diff --git a/.profile b/.profile index 8ca28530..8f022e98 100755 --- a/.profile +++ b/.profile @@ -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