From 3913586f678437d6de80bc96c8eea0e1e69a51ac Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Wed, 5 Jul 2023 17:05:39 -0300 Subject: Updated tide --- .config/fish/functions/_tide_item_rustc.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/fish/functions/_tide_item_rustc.fish') diff --git a/.config/fish/functions/_tide_item_rustc.fish b/.config/fish/functions/_tide_item_rustc.fish index b898e6f3..2e71645e 100644 --- a/.config/fish/functions/_tide_item_rustc.fish +++ b/.config/fish/functions/_tide_item_rustc.fish @@ -1,3 +1,4 @@ function _tide_item_rustc - test -e Cargo.toml && _tide_print_item rustc $tide_rustc_icon' ' (rustc --version | string split ' ')[2] + path is $_tide_parent_dirs/Cargo.toml && + _tide_print_item rustc $tide_rustc_icon' ' (rustc --version | string split ' ')[2] end -- cgit v1.2.3