-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
21 lines (16 loc) · 855 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash
# ----
# install script for vscode devcontainers
# ----
# install zsh
apt-get update && apt-get install -y zsh
# install oh-my-zsh. https://github.com/deluan/zsh-in-docker
curl -fsSL https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | zsh || true
zsh -c 'git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions'
zsh -c 'git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting'
# install dotfiles using chezmoi
zsh -c "$(curl -fsSL get.chezmoi.io)" -- init --apply gavinest
# install vim plugins
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
vim --not-a-term -c "PlugInstall" -c "q" -c "q"