switch term
This commit is contained in:
6
fish/functions/_tide_item_rustc.fish
Normal file
6
fish/functions/_tide_item_rustc.fish
Normal file
@@ -0,0 +1,6 @@
|
||||
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
|
||||
Reference in New Issue
Block a user