diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-07-05 17:05:39 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-07-05 17:05:39 -0300 |
commit | 3913586f678437d6de80bc96c8eea0e1e69a51ac (patch) | |
tree | 1d15289894a456229dc7416863b1ad530f467c43 /.config/fish/functions/_tide_item_rustc.fish | |
parent | ac3630acff3a49da55913f4e66d0af4aacdebec8 (diff) |
Updated tide
Diffstat (limited to '.config/fish/functions/_tide_item_rustc.fish')
-rw-r--r-- | .config/fish/functions/_tide_item_rustc.fish | 3 |
1 files changed, 2 insertions, 1 deletions
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 |