Add Ninja to base
This commit is contained in:
11
.zshrc
11
.zshrc
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user