-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathautoinstall.sh
executable file
·39 lines (33 loc) · 1.25 KB
/
autoinstall.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
#!/usr/bin/env sh
# Set up non-brew dependencies
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
git clone https://github.com/ohmyzsh/ohmyzsh.git ~/.oh-my-zsh
git clone https://github.com/LazyVim/starter ~/.config/nvim
if [ ! -L ~/.config/nvim/lua/config ]; then
rm -rf ~/.config/nvim/lua/config/ ~/.config/nvim/lua/plugins/
ln -s ~/dotfiles/lazyvim-plugins ~/.config/nvim/lua/plugins
ln -s ~/dotfiles/lazyvim-config ~/.config/nvim/lua/config
fi
mkdir ~/.config
ln -s ~/dotfiles/gitignore ~/.gitignore
ln -s ~/dotfiles/gitconfig ~/.gitconfig
ln -s ~/dotfiles/work.gitconfig ~/.work.gitconfig
ln -s ~/dotfiles/zshrc ~/.zshrc
ln -s ~/dotfiles/vimrc ~/.vimrc
ln -s ~/dotfiles/tmux.conf ~/.tmux.conf
if [ ! -d ~/.doom.d ]; then
ln -s ~/dotfiles/doom.d ~/.doom.d
fi
# mkdir ~/.vim
# cp -R ~/dotfiles/vim/autoload ~/.vim/
# ln -s ~/.vim ~/.config/nvim
# ln -s ~/.vimrc ~/.config/nvim/init.vim
# ln -s ~/dotfiles/config.lua ~/.config/lvim/config.lua
mkdir -p ~/.config/kitty
ln -s ~/dotfiles/kitty.conf ~/.config/kitty/kitty.conf
ln -s ~/dotfiles/railsrc ~/.railsrc
ln -s ~/dotfiles/asdfrc ~/.asdfrc
mkdir -p ~/.config/direnv
ln -s ~/dotfiles/direnv.toml ~/.config/direnv/direnv.toml
mkdir -p ~/.config/btop
ln -s ~/dotfiles/btop.conf ~/.config/btop/btop.conf