Use APT to install the rust toolchain
This commit is contained in:
parent
3929472997
commit
3082e0e81d
5 changed files with 8 additions and 6 deletions
1
.bashrc
1
.bashrc
|
|
@ -125,7 +125,6 @@ fi
|
||||||
|
|
||||||
# Hook up direnv
|
# Hook up direnv
|
||||||
eval "$(direnv hook bash)"
|
eval "$(direnv hook bash)"
|
||||||
. "$HOME/.cargo/env"
|
|
||||||
|
|
||||||
# Tell GPG in where to open the pinentry dialog
|
# Tell GPG in where to open the pinentry dialog
|
||||||
GPG_TTY="$(tty)"
|
GPG_TTY="$(tty)"
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,8 @@ black \
|
||||||
bluez \
|
bluez \
|
||||||
borgbackup \
|
borgbackup \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
cargo \
|
||||||
|
cargo-doc \
|
||||||
curl \
|
curl \
|
||||||
direnv \
|
direnv \
|
||||||
docker.io \
|
docker.io \
|
||||||
|
|
@ -51,6 +53,8 @@ python3-pylsp-rope \
|
||||||
python3.12-venv \
|
python3.12-venv \
|
||||||
qtwayland5 \
|
qtwayland5 \
|
||||||
reuse \
|
reuse \
|
||||||
|
rust-doc \
|
||||||
|
rust-llvm \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
slurp \
|
slurp \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#! /usr/bin/sh
|
|
||||||
|
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
||||||
|
|
@ -22,6 +22,5 @@ pipx_update() {
|
||||||
|
|
||||||
apt_update
|
apt_update
|
||||||
pipx_update
|
pipx_update
|
||||||
rustup update
|
|
||||||
cargo_update
|
cargo_update
|
||||||
ghup
|
ghup
|
||||||
|
|
|
||||||
5
.profile
5
.profile
|
|
@ -21,6 +21,10 @@ if [ -d "$HOME/bin" ] ; then
|
||||||
PATH="$HOME/bin:$PATH"
|
PATH="$HOME/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -d "$HOME/.cargo/bin" ] ; then
|
||||||
|
PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
# set PATH so it includes user's private bin if it exists
|
# set PATH so it includes user's private bin if it exists
|
||||||
if [ -d "$HOME/.local/bin" ] ; then
|
if [ -d "$HOME/.local/bin" ] ; then
|
||||||
PATH="$HOME/.local/bin:$PATH"
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
@ -37,7 +41,6 @@ export BORG_REPO="/media/backup/"
|
||||||
export BORG_PASSCOMMAND="cat ${HOME}/.keys/borg-passphrase.txt"
|
export BORG_PASSCOMMAND="cat ${HOME}/.keys/borg-passphrase.txt"
|
||||||
export PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring"
|
export PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring"
|
||||||
export XDG_CURRENT_DESKTOP="sway"
|
export XDG_CURRENT_DESKTOP="sway"
|
||||||
. "$HOME/.cargo/env"
|
|
||||||
|
|
||||||
# If running from tty1 start sway inside a zellij session
|
# If running from tty1 start sway inside a zellij session
|
||||||
[ "$(tty)" = "/dev/tty1" ] && exec zellij --layout sway --session sway
|
[ "$(tty)" = "/dev/tty1" ] && exec zellij --layout sway --session sway
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue