dotfiles/.config/fish/functions/cargo-update.fish

7 lines
194 B
Fish

function cargo-update --description 'Update binaries installed with cargo'
if test (count $argv) = 0
cargo install-update -a
else
cargo install-update $argv
end
end