From 261d8676cc3e51b8f4f45117c51e54aa185407eb Mon Sep 17 00:00:00 2001 From: James Ridgway Date: Fri, 5 Jan 2024 18:41:50 +0000 Subject: [PATCH] rvm improvement --- setup | 1 + zsh/.zprofile | 1 + zsh/.zshrc | 1 + 3 files changed, 3 insertions(+) create mode 100644 zsh/.zprofile diff --git a/setup b/setup index c0339f9..179d474 100755 --- a/setup +++ b/setup @@ -286,6 +286,7 @@ else rm -rf "$HOME/.zshrc" fi ln -sf "$REPO/zsh/.zshrc" "$HOME/.zshrc" +ln -sf "$REPO/zsh/.zprofile" "$HOME/.zprofile" ln -sf "$REPO/zsh/.zshenv" "$HOME/.zshenv" ln -sf "$REPO/zsh/custom/themes/jagnoster.zsh-theme" "$HOME/.oh-my-zsh/custom/themes/jagnoster.zsh-theme" diff --git a/zsh/.zprofile b/zsh/.zprofile new file mode 100644 index 0000000..1806846 --- /dev/null +++ b/zsh/.zprofile @@ -0,0 +1 @@ +[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" diff --git a/zsh/.zshrc b/zsh/.zshrc index cac6f87..024f342 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -58,3 +58,4 @@ eval "$(zellij setup --generate-auto-start zsh)" export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion +[ -s "$HOME/.rvm/scripts/rvm" ] && \. "$HOME/.rvm/scripts/rvm"