Don't print rust version if there are rust files

This commit is contained in:
Ilan Cosman 2021-03-07 21:30:26 -08:00
parent 7b61e865c7
commit 75e66b74b9

View File

@ -1,5 +1,5 @@
function _tide_item_rust function _tide_item_rust
if test -e Cargo.toml -o (count *.rs) -gt 0 if test -e Cargo.toml
set_color $tide_rust_color set_color $tide_rust_color
if test "$tide_rust_verbose_version" = false if test "$tide_rust_verbose_version" = false