summaryrefslogtreecommitdiff
path: root/.config/fish/functions/_tide_item_rustc.fish
blob: 2e71645e765d8cd9eae3aed3fed90410640e3cfa (plain)
1
2
3
4
function _tide_item_rustc
    path is $_tide_parent_dirs/Cargo.toml &&
        _tide_print_item rustc $tide_rustc_icon' ' (rustc --version | string split ' ')[2]
end