Created
September 4, 2020 23:16
-
-
Save deathtenk/853b36e408fd82792bae737d81d3ff20 to your computer and use it in GitHub Desktop.
This file contains 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 install -y neovim google-chrome-stable tilix zsh default-jdk software-properties-common ack python3.6 \ | |
## install zsh | |
sudo chsh -s $(which zsh) && \ | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" \ | |
## install jenv | |
git clone https://github.com/jenv/jenv.git ~/.jenv && \ | |
echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.zshrc && \ | |
echo 'eval "$(jenv init -)"' >> ~/.zshrc && \ | |
source ~/.zshrc \ | |
## install clojure | |
curl -O https://download.clojure.org/install/linux-install-1.10.1.561.sh && \ | |
chmod +x linux-install-1.10.1.561.sh && \ | |
sudo ./linux-install-1.10.1.561.sh \ | |
## install cargo | |
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh && \ | |
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.zshrc && \ | |
source ~/.zshrc \ | |
# install vundle | |
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim \ | |
# get init.vim | |
mkdir ~/.config/nvim && \ | |
wget -O ~/.config/nvim/init.vim https://gist.githubusercontent.com/deathtenk/b92e7987ec98757481c1e2096d1c7302/raw/94409795f26138605ce73c8d39985f7c3e46ed00/init.vim \ | |
# update vim plugins | |
vim -E -s ~/.config/nvim/init.vim << EOF | |
:PluginInstall | |
:UpdateRemotePlugins | |
:quit | |
:quit | |
EOF | |
## install parinfer | |
cd ~/.vim/bundle/parinfer-rust && \ | |
cargo build --release && \ | |
cargo install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment