Last active
December 11, 2015 14:58
-
-
Save jeffmccune/4617871 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# | |
sudo yum -y install git tmux zsh ruby-devel ruby-irb ruby-rdoc rubygems make gcc | |
cd ~ | |
test -d .vim || git clone [email protected]:jeffmccune/jeff_vim.git .vim | |
test -e .vimrc || ln -s .vim/vimrc.vim .vimrc | |
test -d .vimswp || mkdir .vimswp | |
test -d customization || (git clone [email protected]:git/customization.git; cd customization; git submodule init; git submodule update) | |
test -e .zshrc || ./customization/install | |
sudo chsh $USER -s /bin/zsh | |
echo "All done! Vim and your shell are setup!" | |
if ! [[ -f ~/.zshrc.local ]]; then | |
echo 'export GEM_HOME="${HOME}"/.gems' > ~/.zshrc.local | |
echo 'export PATH="${GEM_HOME}/bin:${PATH}"' >> ~/.zshrc.local | |
fi | |
eval "$(cat ~/.zshrc.local)" | |
gem install bundler --no-ri --no-rdoc | |
gem install rake --no-ri --no-rdoc | |
gem install hub --no-ri --no-rdoc | |
test -d src || mkdir src | |
cd src | |
test -d facter || hub clone puppetlabs/facter | |
test -d puppet || hub clone puppetlabs/puppet | |
test -d hiera || hub clone puppetlabs/hiera | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment