-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·74 lines (49 loc) · 2 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/bin/bash
set -x # echo on
echo "Installing dotfiles"
cd ~
echo "Install all required programs"
echo "Install other programs: "
sudo apt-get install tmux neovim git hub zsh wget xclip build-essential cmake python-dev python3-dev direnv ripgrep rofi redshift-gtk fasd bat
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# Install git delta
wget -O /tmp/git-delta.deb https://github.com/dandavison/delta/releases/download/0.8.3/git-delta_0.8.3_amd64.deb
sudo dpkg -i /tmp/git-delta.deb
cd ~
# Install FZF
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
# Install symbols
https://sw.kovidgoyal.net/kitty/faq/#kitty-is-not-able-to-use-my-favorite-font
# Install powerline font
mkdir -p ~/.fonts/
wget https://github.com/Lokaltog/powerline/raw/develop/font/PowerlineSymbols.otf -P ~/.fonts
fc-cache -vf ~/.fonts
mkdir -p ~/.config/fontconfig/conf.d/
wget https://github.com/Lokaltog/powerline/raw/develop/font/10-powerline-symbols.conf -P ~/.config/fontconfig/conf.d/
# Plug.vim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# asdf
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.1
# Install vim plugins - now manually
# Install hub: https://github.com/github/hub/releases
echo "Initializing submodule(s)"
git submodule update --init --recursive
source link.sh
echo "Configuring zsh as default shell"
chsh -s $(which zsh)
echo "Done."
# Install neovim https://neovim.io/doc/user/nvim.html#nvim-from-vim
# if stdpath does not work, create it manually
# https://neovim.io/doc/user/starting.html#config
# install python-nvim
sudo pip2 install --upgrade neovim
sudo pip3 install --upgrade neovim
# Also install node
npm install --global prettier
npm install tslint typescript -g
# Install packer.nvim
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim