-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·29 lines (24 loc) · 918 Bytes
/
setup.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
# add user
# sudo adduser dean --disable-password --gecos ""
# give sudo permissions
# sudo adduser dean sudo
# install deps
#sudo apt-get update
# sudo apt-get install -y git vim tmux fish build-essential autoconf python man-db coreutils libncurses5-dev
# setup ssh login
# sudo su dean
cd
mkdir .ssh
curl -o ~/.ssh/authorized_keys https://github.com/deanmarano.keys
ssh-keyscan github.com >> ~/.ssh/known_hosts
git clone https://github.com/deanmarano/dotfiles.git
dotfiles/link-dotfiles.sh
mkdir -p ~/.cache/vim/{backup,swap,undo}
# setup vim/vundle
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
vim -es -u vimrc -i NONE -c "PlugInstall" -c "qa"
# Setup fish/fisherman
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fisher
# Setup tmux/tpm
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm