my personal dotfiles managed by dotbot, zinit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/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
|
|
|
|
|
|
|
|
# pyenv required
|
|
|
|
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \
|
|
|
|
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev \
|
|
|
|
xz-utils tk-dev libffi-dev liblzma-dev python-openssl
|
|
|
|
|
|
|
|
# zeal
|
|
|
|
sudo add-apt-repository -y ppa:zeal-developers/ppa
|