remove cargo and other dependencies
This commit is contained in:
parent
f91266a578
commit
70c208c4a2
4 changed files with 3 additions and 34 deletions
|
|
@ -1,7 +1,4 @@
|
||||||
packages:
|
packages:
|
||||||
cargo:
|
|
||||||
- du-dust
|
|
||||||
- mise
|
|
||||||
pkg:
|
pkg:
|
||||||
packages:
|
packages:
|
||||||
- bat
|
- bat
|
||||||
|
|
@ -10,11 +7,10 @@ packages:
|
||||||
- eza
|
- eza
|
||||||
- fd
|
- fd
|
||||||
- fzf
|
- fzf
|
||||||
- build-base
|
- dust
|
||||||
- git
|
- git
|
||||||
- neovim
|
- neovim
|
||||||
- openssl
|
- openssl
|
||||||
- openssl-dev
|
|
||||||
- ripgrep
|
- ripgrep
|
||||||
- sd
|
- sd
|
||||||
- starship
|
- starship
|
||||||
|
|
|
||||||
|
|
@ -40,18 +40,3 @@ echo -e "${C_DODGERBLUE1}Installing packages...${NO_FORMAT}"
|
||||||
sudo dnf install -y {{ range .packages.dnf.packages }} {{ . | quote }} {{- end -}}
|
sudo dnf install -y {{ range .packages.dnf.packages }} {{ . | quote }} {{- end -}}
|
||||||
|
|
||||||
{{ 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 -}}
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,28 +5,17 @@ update_path() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Set manually
|
# Set manually
|
||||||
export DOTS="$(dirname $(chezmoi source-path))"
|
|
||||||
|
export DOTS="$HOME/.local/share/chezmoi"
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export VISUAL="$EDITOR"
|
export VISUAL="$EDITOR"
|
||||||
|
|
||||||
# Dev Stuff
|
# 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
|
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
|
# PATH
|
||||||
update_path "/usr/local/bin"
|
update_path "/usr/local/bin"
|
||||||
update_path "$HOME/.local/bin"
|
update_path "$HOME/.local/bin"
|
||||||
update_path "$HOME/.cargo/bin/"
|
|
||||||
update_path "$DOTS/scripts"
|
update_path "$DOTS/scripts"
|
||||||
update_path "$HOME/bin"
|
update_path "$HOME/bin"
|
||||||
update_path "$NPM_PACKAGES/bin"
|
|
||||||
update_path "$PNPM_HOME"
|
|
||||||
update_path "$HOME/.local/share/rtx/shims"
|
|
||||||
|
|
|
||||||
|
|
@ -139,4 +139,3 @@ done
|
||||||
eval "$(fzf --zsh)"
|
eval "$(fzf --zsh)"
|
||||||
eval "$(zoxide init --cmd cd zsh)"
|
eval "$(zoxide init --cmd cd zsh)"
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
eval "$(mise activate zsh)"
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue