cmc/dotfiles

Using GNU Stow to manage my dotfiles.

clone: git clone https://gitbay.org/cmc/dotfiles.git

7bb68cb02426b99efefafd1e57398602f1074096

verified · cmc

author: Christian Cleberg <hello@cleberg.net> · 2026-08-02T21:41:10Z

add node and rust
 common/zsh/.zprofile | 5 +++++
 common/zsh/.zshrc    | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/common/zsh/.zprofile b/common/zsh/.zprofile
index 991ce5c..d683690 100644
--- a/common/zsh/.zprofile
+++ b/common/zsh/.zprofile
@@ -16,3 +16,8 @@ fi
 if [[ -f "$BREW_PATH" ]]; then
   eval "$($BREW_PATH shellenv)"
 fi
+
+# nvm
+export NVM_DIR="$HOME/.nvm"
+[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh"  # This loads nvm
+[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm"  # This loads nvm bash_completion
diff --git a/common/zsh/.zshrc b/common/zsh/.zshrc
index 4b2b11f..5cc423c 100644
--- a/common/zsh/.zshrc
+++ b/common/zsh/.zshrc
@@ -178,3 +178,6 @@ alias claude-mem='/Users/cmc/.bun/bin/bun "/Users/cmc/.claude/plugins/marketplac
 # openssl
 export PATH="${HOMEBREW_PREFIX}/opt/openssl/bin:$PATH"
 export PATH="$HOME/.local/bin:$PATH"
+
+# Rust / cargo binaries
+export PATH="$HOME/.cargo/bin:$PATH"