-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
executable file
·41 lines (34 loc) · 1.25 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
#!/bin/sh
cd "$HOME" || return
mkdir -p ~/.config
ln -sfn ~/dotfiles/.zshenv ~/.zshenv
ln -sfn ~/dotfiles/.config/starship.toml ~/.config/starship.toml
ln -sfn ~/dotfiles/.config/alacritty ~/.config/alacritty
ln -sfn ~/dotfiles/.config/nixpkgs ~/.config/nixpkgs
ln -sfn ~/dotfiles/.config/nvim ~/.config/nvim
ln -sfn ~/dotfiles/.config/zsh ~/.config/zsh
ln -sfn ~/dotfiles/.tmux.conf ~/.tmux.conf
ln -sfn ~/dotfiles/.skhdrc ~/.skhdrc
ln -sfn ~/dotfiles/.yabairc ~/.yabairc
ln -sfn ~/dotfiles/.doom.d ~/.doom.d
ln -sfn ~/dotfiles/vale/.vale.ini ~/.vale.ini
touch .config/zsh/secrets.zsh
# vale
mkdir -p ~/.config/vale
cp -rp ~/dotfiles/vale/Microsoft ~/.config/vale/
cp -rp ~/dotfiles/vale/proselint ~/.config/vale/
cp -rp ~/dotfiles/vale/write-good ~/.config/vale/
echo "Drop new vale styles into '~/.config/vale/'. Symlinks won't work"
# this is blank, should be made a separate repository
mkdir -p ~/org/roam
mkdir -p ~/org/gtd
mkdir -p ~/org/notes
mkdir -p ~/org/elfeed.org
# install tpm
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# git
# ln -s ~/dotfiles/.gitconfig ~/.gitconfig
ln -sfn ~/dotfiles/.gitignore_global ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
# fix compinit issues
compaudit | xargs chmod g-w