-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·43 lines (32 loc) · 1.36 KB
/
install.sh
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/bash
# install.sh
# Description: boostraps Nix environment - currently OSX only.
set -u -o pipefail
cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null
if [[ "$OSTYPE" == "darwin"* ]]; then
# Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap Homebrew/bundle
brew bundle
# Install ohmyzsh
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
# Install Arkade
# https://github.com/alexellis/arkade#install-a-cli-tool
curl -sLS https://get.arkade.dev | sudo sh
# Symlink dotfiles
scripts/link-dotfiles.sh
scripts/link-dotvim.sh
# Install Vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
# Download and install Powerline fonts; use Powerline font in iTerm profile.
git clone https://github.com/powerline/fonts.git ../powerline/fonts
../powerline/fonts/install.sh
# Install fzf shell bindings.
$(brew --prefix)/opt/fzf/install
# Install Miniconda
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O $HOME/Downloads/miniconda.sh
bash $HOME/Downloads/miniconda.sh -b -p $HOME/miniconda3
export PATH="$HOME/miniconda3/bin:$PATH"
# TODO: need to pip install Vim environment dependencies?
fi