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
|
# Add Cargo packages from Rust
|
||||||
mkdir -p "$HOME"/.cargo/bin
|
mkdir -p "$HOME"/.cargo/bin
|
||||||
fish -c "fish_add_path $HOME/.cargo/bin ||:"
|
fish -c "fish_add_path $HOME/.cargo/bin ||:"
|
||||||
# Add cargo packages
|
# Install cargo packages
|
||||||
cargo install cargo-update cargo-cache
|
cargo install cargo-update cargo-cache tealdeer
|
||||||
|
|
||||||
# === tldr ==
|
# === tldr ==
|
||||||
cargo install tealdeer
|
|
||||||
fish -c "tldr --update"
|
fish -c "tldr --update"
|
||||||
# Fish completion
|
# Fish completion
|
||||||
local url_tldr
|
local url_tldr
|
||||||
|
|
Loading…
Reference in a new issue