Skip to content

Commit

Permalink
Put omb/omz envs where needed, as well as node
Browse files Browse the repository at this point in the history
  • Loading branch information
dhvcc committed Jul 2, 2024
1 parent 74c05b0 commit 35861b1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .cfg/scripts/install-omb.sh
Original file line number Diff line number Diff line change
@@ -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
8 changes: 6 additions & 2 deletions .cfg/scripts/install-omz.sh
Original file line number Diff line number Diff line change
@@ -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
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
2 changes: 2 additions & 0 deletions .cfg/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35861b1

Please sign in to comment.