-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.py
More file actions
executable file
·22 lines (18 loc) · 1 KB
/
install.py
File metadata and controls
executable file
·22 lines (18 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!python3
import os
from distro import name
# Install the homebrew package manager on macs
if name() == 'Darwin':
print('Installing the homebrew package manager...')
os.system('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"')
# Install cybervim
print('Installing the best neovim config...')
os.system('git clone https://github.com/ahoodatheguy/cybervim.git $HOME/.config/cybervim')
print('If you get errors your first time running it, try running :PackerSync')
# ZSH
print('Installing oh-my-zsh...')
os.system('sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"')
print('Installing syntax highlighting for zsh...')
os.system('git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting')
print('Installing completion for zsh...')
os.system('git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions')