forked from tobinvanpelt/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init_debian
executable file
·62 lines (50 loc) · 1.39 KB
/
init_debian
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
#!/bin/bash
# install brew deps
brew update
# this was disabled feb 2024
# brew install gcc@8
brew install zsh
brew install python3
brew install git
brew install tmux
brew install cmake
brew install fzf
brew install ripgrep
brew install bat
brew install neovim
brew install pre-commit
# yum updates
sudo yum update -y
sudo yum install zsh -y
sudo yum group install "Development Tools" -y
sudo yum install man-pages -y
# install vimplug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# for amazon linux
sudo chsh -s /bin/zsh ec2-user
# clear out previous config files
rm ~/.profile
rm ~/.bash_profile
rm ~/.zprofile
rm ~/.zshrc
mv ~/.profile ~/.profile.bak
ln -s ~/.dot/profile.linux ~/.profile
ln -s ~/.dot/zprofile ~/.zprofile
ln -s ~/.dot/zshrc ~/.zshrc
ln -s ~/.dot/oh-my-zsh/ ~/.oh-my-zsh
ln -s ~/.dot/vim/ ~/.vim
ln -s ~/.dot/vimrc ~/.vimrc
ln -s ~/.dot/gvimrc ~/.gvimrc
ln -s ~/.dot/tmux.linux ~/.tmux.conf
ln -s ~/.dot/gitconfig ~/.gitconfig
ln -s ~/.dot/gitignore ~/.gitignore
ln -s ~/.dot/ipython_config.py ~/.ipython/profile_default/ipython_config.py
mkdir ~/.config/nvim
ln -s ~/.dot/init.lua ~/.config/nvim/init.lua
ln -s ~/.vim/autoload ~/.config/nvim/autoload
# pluginstall vim deps
nvim +'PlugInstall --sync' +qa
# set git user to ddl
git config --global user.email "[email protected]"
# git config --list