From 0cbb8a326dbc4cc46b263b733a7980b1413e288c Mon Sep 17 00:00:00 2001 From: spekulaas Date: Thu, 29 Sep 2022 14:21:32 +0200 Subject: [PATCH] remove source --- src/importantinstalls/node.sh | 3 --- src/services/zsh/Oh-My-ZSH.sh | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/importantinstalls/node.sh b/src/importantinstalls/node.sh index 1398327..9e1d260 100644 --- a/src/importantinstalls/node.sh +++ b/src/importantinstalls/node.sh @@ -5,14 +5,11 @@ wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash if [[ $(which zsh) == "/usr/bin/zsh" ]]; then echo 'export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"' >> ~/.zshrc echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.zshrc - source ~/.zshrc fi # always put in bashrc aswell, so that the user can always rely on the standard shell echo 'export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"' >> ~/.bashrc echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc -source ~/.bashrc - # install latest version of node nvm install node \ No newline at end of file diff --git a/src/services/zsh/Oh-My-ZSH.sh b/src/services/zsh/Oh-My-ZSH.sh index 17caf44..7cb1c05 100644 --- a/src/services/zsh/Oh-My-ZSH.sh +++ b/src/services/zsh/Oh-My-ZSH.sh @@ -5,6 +5,4 @@ git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc # set zsh as main terminal -chsh -s $(which zsh) - -source ~/.zshrc \ No newline at end of file +chsh -s $(which zsh) \ No newline at end of file