.profile: Fix buggy lsblk detection
This commit is contained in:
parent
a828ff46e6
commit
2ed96c0989
2
.profile
2
.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
|
||||
|
Reference in New Issue
Block a user