misc: Install cargo from source

This commit is contained in:
Robin-Charles Guihéneuf
2026-04-27 13:54:28 +02:00
parent 1beccf1252
commit 1d947a4c9a
+2 -1
View File
@@ -19,7 +19,7 @@ install_git_repo () {
# Install packages # Install packages
sudo apt update sudo apt update
sudo apt upgrade sudo apt upgrade
sudo apt install minicom ssh git tig ack tree npm cargo python3-pip curl zsh sudo apt install minicom ssh git tig ack tree npm python3-pip curl zsh
# Install Oh my ZSH # Install Oh my ZSH
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
@@ -57,6 +57,7 @@ install_git_repo https://github.com/junegunn/fzf.git $HOME/.fzf
$HOME/.fzf/install $HOME/.fzf/install
# Install navi # Install navi
curl https://sh.rustup.rs -sSf | sh
cargo install navi cargo install navi
mkdir -p $HOME/.local/share/navi/cheats mkdir -p $HOME/.local/share/navi/cheats
ln -sfn $HOME/.dotfiles/navi/ $HOME/.local/share/navi/cheats/vulporuza ln -sfn $HOME/.dotfiles/navi/ $HOME/.local/share/navi/cheats/vulporuza