-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup
executable file
·30 lines (24 loc) · 869 Bytes
/
setup
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
#!/bin/bash
XDG_CONFIG_HOME=$XDG_CONFIG_HOME:=$HOME/.config
rm -rf ~/.zshrc
ln -s ~/dotfiles/zsh/zshrc ~/.zshrc
. ~/.zshrc
relink ~/dotfiles/vim ~/.vim
relink ~/dotfiles/emacs ~/.emacs.d
relink ~/dotfiles/weechat ~/.weechat
relink ~/dotfiles/config/tmux.conf ~/.tmux.conf
relink ~/dotfiles/qutebrowser ~/.qutebrowser
relink ~/dotfiles/vim/tridactylrc ~/.tridactylrc
relink ~/dotfiles/sshconfig ~/.ssh/config
relink ~/dotfiles/nvim "${XDG_CONFIG_HOME}/nvim"
relink ~/dotfiles/config/wezterm.lua ~/.wezterm.lua
relink ~/dotfiles/config/kitty.conf "${XDG_CONFIG_HOME}/kitty/kitty.conf"
relink ~/dotfiles/config/alacritty.yml "${XDG_CONFIG_HOME}/alacritty/alacritty.yml"
platform=$(uname | awk '{print tolower($0)}')
# shellcheck source=/dev/null
[[ -f "setup_$platform" ]] && source "./setup_$platform"
./setup_git
./setup_vim
./setup_tmux
./setup_asdf
./setup_pass