Add Ninja to base

This commit is contained in:
MangoPig
2025-12-09 03:29:57 +00:00
parent 69f7a5d4d5
commit f359bb68eb
9 changed files with 20 additions and 89 deletions

11
.zshrc
View File

@@ -14,12 +14,11 @@ source $ZSH/oh-my-zsh.sh
# Programming Languages Root
export PROG_DIR="$HOME/.programming"
# 1. Go and GVM (Black Box)
# Go and GVM (Black Box)
export GVM_ROOT="$PROG_DIR/go"
# Only source if the custom GVM exists
[[ -s "$GVM_ROOT/scripts/gvm" ]] && source "$GVM_ROOT/scripts/gvm"
# 2. Node and NVM (Lazy Load)
# Node and NVM (Lazy Load)
export NVM_DIR="$PROG_DIR/node"
nvm_load() {
@@ -34,11 +33,11 @@ node() { nvm_load "node" "$@"; }
npm() { nvm_load "npm" "$@"; }
npx() { nvm_load "npx" "$@"; }
# 3. Rust and Cargo
# Rust and Cargo
export RUSTUP_HOME="$PROG_DIR/rust/multirust"
export CARGO_HOME="$PROG_DIR/rust/cargo"
# 4. Python (Pyenv + Miniconda)
# Python (Pyenv + Miniconda)
export PYENV_ROOT="$PROG_DIR/python/pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
@@ -51,7 +50,7 @@ if command -v conda >/dev/null 2>&1; then
[ -f "$CONDA_BASE/etc/profile.d/conda.sh" ] && source "$CONDA_BASE/etc/profile.d/conda.sh"
fi
# 5. R and Rig
# R and Rig
export RIG_HOME="$PROG_DIR/r"
if [ -d "$RIG_HOME/bin" ]; then
export PATH="$RIG_HOME/bin:$PATH"