forked from jlinder/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbootstrap.sh
More file actions
executable file
·50 lines (36 loc) · 1.52 KB
/
bootstrap.sh
File metadata and controls
executable file
·50 lines (36 loc) · 1.52 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
44
45
46
47
48
49
50
#!/bin/zsh
mkdir -p ~/.config
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
echo "Removing old files"
# remove everything, link to our directory
rm ~/.bash_profile ~/.bashrc ~/.gitconfig ~/.gitignore_global ~/.inputrc ~/.zshrc
echo "Setting up symbolic links"
# set up symbolic links
ln -s ~/dotfiles/kc.zsh-theme ~/.oh-my-zsh/custom/themes/kc.zsh-theme
ln -s ~/dotfiles/gitconfig ~/.gitconfig
ln -s ~/dotfiles/gitignore_global ~/.gitignore_global
ln -s ~/dotfiles/inputrc ~/.inputrc
ln -s ~/dotfiles/zsh/zshrc ~/.zshrc
complete_setup() {
echo "Completing setup"
# install nvm
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
# install brew
# /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# brew update
# install brewfile dependencies
# brew bundle install
# Run this after the rest of the script
# pyenv install 2.7.15
# pyenv install 3.6.7
# pyenv install 3.7.3
# pyenv virtualenv 3.7.3 neovim
# pyenv global 3.7.3
# PYENV_VERSION=neovim pip install pip --upgrade
# PYENV_VERSION=3.6.7 pip install pip --upgrade
# PYENV_VERSION=3.7.3 pip install pip --upgrade
# PYENV_VERSION=neovim pip install neovim --upgrade
# PYENV_VERSION=3.6.7 pip install ipython
# PYENV_VERSION=3.7.3 pip install ipython
}
echo "Done. Open a new terminal window to update theme."