refactor cargo installations

This commit is contained in:
Mylloon 2023-11-15 10:00:42 +01:00
parent 86220064c6
commit 65809c066e
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -147,11 +147,10 @@ main() {
# Add Cargo packages from Rust
mkdir -p "$HOME"/.cargo/bin
fish -c "fish_add_path $HOME/.cargo/bin ||:"
# Add cargo packages
cargo install cargo-update cargo-cache
# Install cargo packages
cargo install cargo-update cargo-cache tealdeer
# === tldr ==
cargo install tealdeer
fish -c "tldr --update"
# Fish completion
local url_tldr