diff --git a/.cfg/scripts/install-omb.sh b/.cfg/scripts/install-omb.sh index e67f52d..291463f 100755 --- a/.cfg/scripts/install-omb.sh +++ b/.cfg/scripts/install-omb.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash -. ~/.bashrc +export OSH=$HOME/.oh-my-bash +source $OSH/oh-my-bash.sh bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" --unattended mv -f .bashrc.omb* .bashrc diff --git a/.cfg/scripts/install-omz.sh b/.cfg/scripts/install-omz.sh index d0c8455..206aebb 100755 --- a/.cfg/scripts/install-omz.sh +++ b/.cfg/scripts/install-omz.sh @@ -1,9 +1,13 @@ #!/usr/bin/env zsh -. ~/.zshrc +export ZSH="$HOME/.oh-my-zsh" +export ZSH_CUSTOM="$HOME/.oh-my-zsh-custom" +ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#d1d1d1,bg=#525252" +fpath+="$ZSH_CUSTOM/plugins/zsh-completions/src" +source $ZSH/oh-my-zsh.sh sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --keep-zshrc --unattended git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions -git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions \ No newline at end of file +git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions diff --git a/.cfg/setup.sh b/.cfg/setup.sh index d44dd5c..472cf80 100755 --- a/.cfg/setup.sh +++ b/.cfg/setup.sh @@ -11,6 +11,8 @@ fi ./.cfg/scripts/install-brew.sh ./.cfg/scripts/install-packages.sh +export NVM_DIR="$HOME/.nvm" +[ -s "/home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh" ] && \. "/home/linuxbrew/.linuxbrew/opt/nvm/nvm.sh" # This loads nvm nvm install 16 ./.cfg/scripts/install-omb.sh