-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.sh
executable file
·38 lines (28 loc) · 1.27 KB
/
deploy.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
#!/bin/bash
dotfiles=(.zshrc .condarc .zshenv .zshfunc)
for file in "${dotfiles[@]}"; do
ln -svf $HOME/dotfiles/$file $HOME/
done
mkdir $HOME/.config
rm $HOME/.config/fish/config.fish
ln -svf $HOME/dotfiles/.config/config.fish $HOME/.config/fish/
ln -svf $HOME/dotfiles/.config/starship.toml $HOME/.config/
rm -rf $HOME/.config/nvim
unlink $HOME/.config/nvim
ln -svf $HOME/dotfiles/.config/nvim $HOME/.config/nvim
mkdir -p $HOME/.config/procs
ln -svf $HOME/dotfiles/.config/procs/config.toml $HOME/.config/procs/config.toml
mkdir -p $HOME/.sheldon
mkdir -p $HOME/.config/sheldon
ln -svf $HOME/dotfiles/.sheldon/plugins.toml $HOME/.sheldon/plugins.toml
ln -svf $HOME/dotfiles/.sheldon/plugins.toml $HOME/.config/sheldon/plugins.toml
rm -rf $HOME/.config/zellij
unlink $HOME/.config/zellij
ln -svf $HOME/dotfiles/.config/zellij $HOME/.config/zellij
rm -rf $HOME/.config/yazi
unlink $HOME/.config/yazi
ln -svf $HOME/dotfiles/.config/yazi $HOME/.config/yazi
mkdir $HOME/.poshthemes
ln -svf $HOME/dotfiles/oh-my-posh/snitch_custom.omp.json $HOME/.poshthemes/snitch_custom.omp.json
ln -svf $HOME/dotfiles/oh-my-posh/snitch_custom_home.omp.json $HOME/.poshthemes/snitch_custom_home.omp.json
ln -svf $HOME/dotfiles/oh-my-posh/snitch_custom_work.omp.json $HOME/.poshthemes/snitch_custom_work.omp.json