From 0252eff7437ce2a262b2ded0d8dbc5dfedbf6f63 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Fri, 8 Dec 2017 21:07:51 +0800 Subject: [PATCH] Add oh my zsh Signed-off-by: Ein Verne --- .gitmodules | 4 ++++ .oh-my-zsh | 1 + init_install.sh | 29 +++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 160000 .oh-my-zsh create mode 100644 init_install.sh diff --git a/.gitmodules b/.gitmodules index 9eb7fea..dfb25b4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,7 @@ [submodule ".vim/bundle/Vundle.vim"] path = .vim/bundle/Vundle.vim url = https://github.com/VundleVim/Vundle.vim.git + +[submodule ".oh-my-zsh"] + path = .oh-my-zsh + url = https://github.com/robbyrussell/oh-my-zsh.git diff --git a/.oh-my-zsh b/.oh-my-zsh new file mode 160000 index 0000000..6bad3cb --- /dev/null +++ b/.oh-my-zsh @@ -0,0 +1 @@ +Subproject commit 6bad3cb2bf0775db13a52a23d9c574e600b0bf29 diff --git a/init_install.sh b/init_install.sh new file mode 100644 index 0000000..e1d72fa --- /dev/null +++ b/init_install.sh @@ -0,0 +1,29 @@ +#!/bin/bash - +#=============================================================================== +# +# FILE: init_install.sh +# +# USAGE: ./init_install.sh +# +# DESCRIPTION: +# +# OPTIONS: --- +# REQUIREMENTS: --- +# BUGS: --- +# NOTES: --- +# AUTHOR: YOUR NAME (), +# ORGANIZATION: +# CREATED: 12/07/2017 08:47:13 PM +# REVISION: --- +#=============================================================================== + +set -o nounset # Treat unset variables as an error + +# install +sudo apt-get install zsh +sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" +chsh -s /bin/zsh + +# pyenv +curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash +