From 75e66b74b9e12ca4167bdcde18f340256ba7a2e9 Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Sun, 7 Mar 2021 21:30:26 -0800 Subject: [PATCH] Don't print rust version if there are rust files --- functions/_tide_item_rust.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/_tide_item_rust.fish b/functions/_tide_item_rust.fish index d2129cc..f9af195 100644 --- a/functions/_tide_item_rust.fish +++ b/functions/_tide_item_rust.fish @@ -1,5 +1,5 @@ function _tide_item_rust - if test -e Cargo.toml -o (count *.rs) -gt 0 + if test -e Cargo.toml set_color $tide_rust_color if test "$tide_rust_verbose_version" = false