Merge pull request #14 from juancwu/check-rust
add check for rust installation
This commit is contained in:
commit
26c86c4329
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue