add check for rust installation

This commit is contained in:
jc 2023-10-02 10:06:37 -04:00
commit dfc7bff00d
No known key found for this signature in database

View file

@ -217,3 +217,8 @@ if [ $? -ne 0 ]; then
else
alias lg="lazygit"
fi
command -v rustc > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo -e "$WARNING rust is not installed"
fi