remove cargo and other dependencies

This commit is contained in:
Alexander Navarro 2024-08-05 16:25:50 -04:00
parent f91266a578
commit 70c208c4a2
4 changed files with 3 additions and 34 deletions

View file

@ -1,7 +1,4 @@
packages:
cargo:
- du-dust
- mise
pkg:
packages:
- bat
@ -10,11 +7,10 @@ packages:
- eza
- fd
- fzf
- build-base
- dust
- git
- neovim
- openssl
- openssl-dev
- ripgrep
- sd
- starship

View file

@ -40,18 +40,3 @@ echo -e "${C_DODGERBLUE1}Installing packages...${NO_FORMAT}"
sudo dnf install -y {{ range .packages.dnf.packages }} {{ . | quote }} {{- end -}}
{{ end }}
# ╭──────────────────────────────────────────────────────────╮
# │ Install Rust │
# ╰──────────────────────────────────────────────────────────╯
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --no-modify-path --default-toolchain stable
. "$HOME/.cargo/env"
# ╭──────────────────────────────────────────────────────────╮
# │ Install Cargo Packages │
# ╰──────────────────────────────────────────────────────────╯
cargo install {{ range .packages.cargo }} {{ . | quote }} {{- end -}}

View file

@ -5,28 +5,17 @@ update_path() {
}
# Set manually
export DOTS="$(dirname $(chezmoi source-path))"
export DOTS="$HOME/.local/share/chezmoi"
export EDITOR=nvim
export VISUAL="$EDITOR"
# Dev Stuff
export NPM_PACKAGES="$HOME/.npm-packages"
export NODE_PATH="$NPM_PACKAGES/lib/node_modules${NODE_PATH:+:$NODE_PATH}"
export PNPM_HOME="$HOME/.local/share/pnpm"
export ESLINT_USE_FLAT_CONFIG=true
. "$HOME/.cargo/env"
# Unset manpath so we can inherit from /etc/manpath via the `manpath`
# command
unset MANPATH # delete if you already modified MANPATH elsewhere in your config
export MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
# PATH
update_path "/usr/local/bin"
update_path "$HOME/.local/bin"
update_path "$HOME/.cargo/bin/"
update_path "$DOTS/scripts"
update_path "$HOME/bin"
update_path "$NPM_PACKAGES/bin"
update_path "$PNPM_HOME"
update_path "$HOME/.local/share/rtx/shims"

View file

@ -139,4 +139,3 @@ done
eval "$(fzf --zsh)"
eval "$(zoxide init --cmd cd zsh)"
eval "$(starship init zsh)"
eval "$(mise activate zsh)"