Created
March 1, 2012 20:39
-
-
Save poulter7/1953078 to your computer and use it in GitHub Desktop.
setup an environment quickly
This file contains 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 | |
mkdir ~/poulter7setup | |
cd ~/poulter7setup | |
git clone https://github.com/poulter7/dotfiles | |
git clone https://github.com/poulter7/Vim-files | |
cd ~ | |
ln -s ~/poulter7setup/Vim-files/.vimrc | |
ln -s ~/poulter7setup/dotfiles/.bash_tweaks | |
ln -s ~/poulter7setup/dotfiles/.bash_aliases | |
echo ' | |
# Alias definitions | |
if [ -f ~/.bash_aliases ]; then | |
. ~/.bash_aliases | |
fi' >> ~/.bash_profile | |
echo ' | |
# Terminal tweaks | |
# These go alongside this file, and the bash_aliases | |
if [ -f ~/.bash_tweaks ]; then | |
. ~/.bash_tweaks | |
fi' >> ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment