mirror of
https://github.com/IlanCosman/tide.git
synced 2024-12-24 04:23:30 +03:00
7 lines
177 B
Fish
7 lines
177 B
Fish
function _tide_item_rust
|
|
if test -e Cargo.toml
|
|
set_color $tide_rust_color
|
|
printf '%s' $tide_rust_icon' ' (rustc --version | string split ' ')[2]
|
|
end
|
|
end
|