forked from colonelpanic/dotfiles
Ivan Malison
6174990049
Fix web_start. Add remote_clipboard server stuff. Bump .emacs.d pointer and add remote_os_copy alias. Way better get_cols Made git sui git suir move to same sha as yelp branch for .emacs.d Bump emacs pointer. simplified default code for remote_clipboard. Remove unused functions from .functions. Added things from yelp branch. yelpify Added field separator to get_cols. Lots of refactoring. Added .lib directory. Moved dotfiles that get symlinked to ~ into their own directory. Remove some vim configuration. Remove oh-my-zsh.
31 lines
592 B
Bash
Executable File
31 lines
592 B
Bash
Executable File
#!/bin/bash
|
|
function debian() {
|
|
hash apt-get &>/dev/null || (echo 'apt-get is missing.' && exit)
|
|
sudo apt-get -y install build-essential
|
|
sudo apt-get -y install git
|
|
}
|
|
|
|
function osx() {
|
|
hash gcc &>/dev/null
|
|
if [ $? -ne 0 ]
|
|
then
|
|
echo "gcc not found."
|
|
exit
|
|
fi
|
|
hash brew &>/dev/null && echo "brew found" || ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
|
|
brew update
|
|
brew install git
|
|
}
|
|
|
|
case `uname` in
|
|
'Darwin')
|
|
osx
|
|
;;
|
|
'Linux')
|
|
debian
|
|
;;
|
|
esac
|
|
|
|
git clone git@github.com:IvanMalison/dotfiles.git
|
|
cd dotfiles
|