refactor cargo installations
This commit is contained in:
parent
86220064c6
commit
65809c066e
1 changed files with 2 additions and 3 deletions
5
arch.sh
5
arch.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue