Skip to content

Commit

Permalink
link the whole ~/.config directory
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhizhen committed Aug 16, 2024
1 parent 3446d92 commit aaf73b7
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ sync:
[ -f ~/.vimrc ] || ln -s $(PWD)/.vimrc ~/.vimrc
[ -f ~/.yabairc ] || ln -s $(PWD)/.yabairc ~/.yabairc

[ -f ~/.config/starship.toml ] || ln -s $(PWD)/.config/starship.toml ~/.config/starship.toml
[ -d ~/.config/alacritty ] || ln -s $(PWD)/.config/alacritty ~/.config
[ -d ~/.config/jrnl ] || ln -s $(PWD)/.config/jrnl ~/.config
[ -d ~/.config/nvim ] || ln -s $(PWD)/.config/nvim ~/.config/nvim
[ -d ~/.config/skhd ] || ln -s $(PWD)/.config/skhd ~/.config
[ -d ~/.config ] || ln -s $(PWD)/.config ~/.config

clean:

Expand All @@ -24,11 +20,7 @@ clean:
rm -f ~/.vimrc
rm -f ~/.yabairc

rm -f ~/.config/starship.toml
rm -rf ~/.config/alacritty
rm -rf ~/.config/jrnl
rm -rf ~/.config/nvim
rm -rf ~/.config/skhd
rm -f ~/.config

update: brew spell

Expand Down

0 comments on commit aaf73b7

Please sign in to comment.