mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2025-01-31 09:51:16 -05:00
6 lines
195 B
Fish
6 lines
195 B
Fish
function _tide_item_rustc
|
|
if path is $_tide_parent_dirs/Cargo.toml
|
|
rustc --version | string match -qr "(?<v>[\d.]+)"
|
|
_tide_print_item rustc $tide_rustc_icon' ' $v
|
|
end
|
|
end
|