dotfiles/setup
Josh Sherman c3e6de560d [install] adds submodule init
Also updated README and dumped some shit from the old setup script
2016-11-17 15:50:23 -06:00

58 lines
1.4 KiB
Bash
Executable file

#!/usr/bin/env bash
# TODO: OS X
# 1) Install homebrew
# 2) Tap this: brew tap homebrew/bundle
# 3) Run this: brew bundle
# 4) Install docker
# TODO: Ubuntu Linux
# 1) Detect if MB: echo 0 > /sys/module/hid_apple/parameters/iso_layout
# 2) Swap CAPS for CTRL
# 3) https://github.com/seatgeek/bash-aptfile
# 4) Install docker
# 5) Install docker-compose
DOTFILES_REPO=https://github.com/joshtronic/dotfiles
DOTFILES_DIR=~/.dotfiles
# FILEINREPO SPACE WHEREYOUWANTITLINKED
SYMLINKS=(
"gem/gemrc ~/.gemrc"
"git/gitconfig ~/.gitconfig"
"mysql/my.cnf ~/.my.cnf"
"tmux/tmux.conf ~/.tmux.conf"
"vim/ ~/.vim"
"zsh/zshrc ~/.zshrc"
)
PIP=(
"premailer"
"psutil"
)
# Creates our symlinks
for SYMLINK in "${SYMLINKS[@]}"; do
# TODO Check if the file exists and whether or not it's a symlink
# TODO Also check if the original file exists before trying to link
eval ln -s ${DOTFILES_DIR}/${SYMLINK}
done
vim +BundleInstall +qall
#source ~/.zshrc
# TODO Do apt-get stuff
# TODO This is old shit, need to work it in eventually
###### DOTFILES="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
######
###### # Gets our Vundle on!
###### git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
###### vim +BundleInstall +qall
# TODO setup logic for defaults for nvm
# TODO setup logic for defaults for rvm
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig