Skip to content

Instantly share code, notes, and snippets.

@haoliplus
Created June 11, 2019 02:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haoliplus/939ebbb4e34dbb2d3917e37d205dce24 to your computer and use it in GitHub Desktop.
Save haoliplus/939ebbb4e34dbb2d3917e37d205dce24 to your computer and use it in GitHub Desktop.
#! /bin/sh
#
# install.sh
# Copyright (C) 2019 lihao <haoliplus@gmail.com>
#
# Distributed under terms of the MIT license.
#
set -e
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
curl https://pyenv.run | bash
git clone git@github.com:DarryO/dotfiles.git ${HOME}/.dotfiles
cd ${HOME}/.dotfiles
git submodule init
git submodule update vim_runtime
ln -s ${HOME}/.dotfiles/home/zshrc ${HOME}/.zshrc
bash ${HOME}/.dotfiles/vim_runtime/install_awesome_vimrc.sh
echo "Installed configuration successfully! Enjoy :-)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment