-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
executable file
·65 lines (54 loc) · 1.65 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
#!/usr/bin/env bash
echo "installing prereqs..."
brew install exa
brew install bat
brew install wget
brew install ripgrep
brew install fzf
brew install asdf
brew install neovim
brew install tree
brew install elixir
brew install diff-so-fancy
brew install python
brew install curlie
brew install tldr
brew install starship
brew install alacritty
brew install tmuxinator
brew install nnn
brew install jq
brew install fd
brew install tokei
brew install procs
brew install stylua
brew install python
brew install --cask keycastr
pip install pygments
echo "installing oh my zsh"
wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
cd ~/
echo "cloning repository"
mkdir ~/bin
cd ~/bin
git clone [email protected]:ignu/dotfiles.git
echo "linking files"
cd
ln ~/bin/dotfiles/vimrc .vimrc
ln -s ~/bin/dotfiles/vim .vim
ln -s ~/bin/dotfiles/vim ~/.config/nvim
ln ~/bin/dotfiles/gitconfig .gitconfig
ln ~/bin/dotfiles/aliasrc .aliasrc
ln ~/bin/dotfiles/tmux.conf .tmux.conf
ln -s ~/bin/dotfiles/nvim nvim
ln -s ~/bin/dotfiles/nvim ~/.config/nvim
rm .zshrc
ln ~/bin/dotfiles/zshrc .zshrc
rm -rf ~/.zsh_profile.d
ln -s ~/bin/dotfiles/zsh_profile.d .zsh_profile.d
echo "install ohmyzsh plugins"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zdharma/fast-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
source ~/.zshrc
reprofile
git config --global core.excludesfile ~/.gitignore_global