-
Notifications
You must be signed in to change notification settings - Fork 1
/
apt.sh
39 lines (30 loc) · 869 Bytes
/
apt.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
# Package Manager template for apt
install_zsh() {
sudo apt-get install zsh
}
install_tmux() {
sudo apt install tmux
}
install_oh_my_zsh() {
sh -c "curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh"
}
install_p10k() {
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
}
install_node() {
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
}
install_yarn() {
sudo npm install --global yarn
}
install_nvim() {
sudo apt install neovim
}
install_vim_plug() {
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
}
install_fzf() {
sudo apt-get install fzf
}