Last active
February 18, 2020 11:26
-
-
Save nakatanakatana/a11fce6b1e1b6ec53df0d1decabdf5eb to your computer and use it in GitHub Desktop.
initialize
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt upgrade -y | |
# install homebrew | |
function install_brew () { | |
sudo apt install -y build-essential curl file git | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" | |
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv) | |
export PATH=$PATH:~/.linuxbrew/bin | |
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) | |
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile | |
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile | |
} | |
# npm packages | |
function install_npm () { | |
nvm install 12 | |
nvm use 12 | |
} | |
function npm_package () { | |
npm install -g neovim firebase-tools typescript-language-server vue-language-server dockerfile-language-server-nodejs | |
} | |
# main | |
which brew > /dev/null 2>&1 | |
if [ $? -eq 0 ]; then | |
echo "already installed brew" | |
else | |
install_brew | |
fi | |
sudo add-apt-repository ppa:mmstick76/alacritty | |
sudo apt install -y alacritty ibus-mozc exfat-fuse exfat-utils unrar unar \ | |
freecad meshlab \ | |
python-pip python3-pip | |
brew install git nvm go rust \ | |
neovim screen ghq peco tmux tmux-xpanes | |
brew tap homebrew/cask-fonts | |
brew | |
sudo pip install virtualenvwrapper | |
pip install pynvim | |
pip3 install pynvim neovim-remote |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment