Skip to content

Instantly share code, notes, and snippets.

@haoliplus
Created June 11, 2019 02:36
Show Gist options
  • 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 <[email protected]>
#
# 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 [email protected]: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