Merge pull request #14 from juancwu/check-rust

add check for rust installation
This commit is contained in:
Jc 2023-10-02 10:08:35 -04:00 committed by GitHub
commit 26c86c4329
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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