dotfiles/fish/functions/_tide_item_rustc.fish
2023-10-08 22:26:07 -05:00

4 lines
166 B
Fish

function _tide_item_rustc
path is $_tide_parent_dirs/Cargo.toml &&
_tide_print_item rustc $tide_rustc_icon' ' (rustc --version | string split ' ')[2]
end