-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdotfile-link.sh
More file actions
executable file
·42 lines (30 loc) · 1.05 KB
/
Copy pathdotfile-link.sh
File metadata and controls
executable file
·42 lines (30 loc) · 1.05 KB
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
#!/bin/sh
if [ -e ~/.bashrc ]; then
echo ".bashrc exists. backup to .bashrc.bak"
mv ~/.bashrc ~/.bashrc.bak
fi
ln -s ~/dotfiles/.bashrc ~/.bashrc
if [ -e ~/.zshrc ]; then
echo ".zshrc exists. backup to .zshrc.bak"
mv ~/.zshrc ~/.zshrc.bak
fi
ln -s ~/dotfiles/dot.zshrc ~/.zshrc
touch ~/.zshrc.local
ln -s ~/dotfiles/dot.tmux.conf ~/.tmux.conf
ln -s ~/dotfiles/dot.gitconfig ~/.gitconfig
ln -s ~/dotfiles/dot.gitignore.global ~/.gitignore.global
ln -s ~/dotfiles/dot.pryrc ~/.pryrc
ln -s ~/dotfiles/dot.eslintrc ~/.eslintrc
ln -s ~/dotfiles/dot.ideavimrc ~/.ideavimrc
ln -s ~/dotfiles/dot.tigrc ~/.tigrc
# mkdir -p ~/.config/dein
# ln -s ~/dotfiles/dein/go_lazy.toml ~/.config/dein/go_lazy.toml
# ln -s ~/dotfiles/dein/lazy.toml ~/.config/dein/lazy.toml
# ln -s ~/dotfiles/dein/dein.toml ~/.config/dein/dein.toml
# Setup neovim
ln -s ~/dotfiles/nvim ~/.config/nvim
ln -s ~/dotfiles/wezterm ~/.config/wezterm
ln -s ~/dotfiles/herdr ~/.config/herdr
ln -s ~/dotfiles/ghostty ~/.config/ghostty
# claude
ln -s ~/dotfiles/claude/skills ~/.claude/skills