-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·43 lines (32 loc) · 1.12 KB
/
setup.sh
File metadata and controls
executable file
·43 lines (32 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/sh
DOTFILES=$HOME/.dotfiles
ASDF=$HOME/.asdf
# Install asdf
if [ ! -e $ASDF ]; then
git clone https://github.com/asdf-vm/asdf.git $ASDF --branch v0.6.3
fi
echo "💻 Installing zsh-autosuggestions..."
if [ ! -d ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions ]; then
mkdir -p ~/.oh-my-zsh/custom/plugins
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
echo "✅ Successfully installed zsh-autosuggestions."
else
echo "✅ zsh-autosuggestions is already installed. Skipping step."
fi
# Install Homebrew packages
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew bundle --file=${DOTFILES}/Brewfile
# Set zsh as default shell
chsh -s $(which zsh)
# Install npm
curl -L https://www.npmjs.org/install.sh | sh
# Install pure-prompt
yarn global add gulp-cli pure-prompt webpack-cli webpack-dev-server
# Install tmuxinator
gem install tmuxinator --install-dir $HOME/.gem
# Symlink dotfiles
env RCRC=${DOTFILES}/rcrc rcup -f
# Create Projects directory
if [ ! -e $HOME/Projects ]; then
mkdir $HOME/Projects
fi