My bash and vim setup
git clone https://github.com/jessereitz/.dotfiles
echo "source $HOME/.dotfiles/main_config.sh >> .bashrc
- for mac:
echo "source $HOME/.dotfiles/main_config.sh >> .bash_profile
- for mac:
- Start a new shell
initialize_all
unameOut="$(uname -s)" &&
case "${unameOut}" in
Linux*) config_file=~/.bashrc;;
Darwin*) config_file=~/.bash_profile;;
*) echo "unkown OS" && exit;;
esac &&
git clone git@github.com:jessereitz/.dotfiles &&
echo "source $HOME/.dotfiles/main_config.sh" >> $config_file &&
source $config_file &&
initialize_all
unameOut="$(uname -s)" &&
case "${unameOut}" in
Linux*) config_file=~/.bashrc;;
Darwin*) config_file=~/.bash_profile;;
*) echo "unkown OS" && exit;;
esac &&
git clone https://github.com/jessereitz/.dotfiles &&
echo "source $HOME/.dotfiles/main_config.sh" >> $config_file &&
source $config_file &&
initialize_all