-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·30 lines (26 loc) · 1022 Bytes
/
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
#!/bin/bash
echo "Creating symlinks"
ln -nsf ~/.dotfiles/.gitconfig ~/.gitconfig
ln -nsf ~/.dotfiles/.gitignore_global ~/.gitignore_global
ln -nsf ~/.dotfiles/.profile ~/.profile
ln -nsf ~/.dotfiles/.tmux.conf ~/.tmux.conf
#ln -nsf ~/.dotfiles/.zshenv ~/.zshenv
ln -nsf ~/.dotfiles/.zshrc ~/.zshrc
mkdir -p ~/.config
ln -nsf ~/.dotfiles/config/alacritty ~/.config/alacritty
ln -nsf ~/.dotfiles/config/gh-copilot ~/.config/gh-copilot
ln -nsf ~/.dotfiles/config/ghostty ~/.config/ghostty
ln -nsf ~/.dotfiles/config/hypr ~/.config/hypr
ln -nsf ~/.dotfiles/config/nvim ~/.config/nvim
ln -nsf ~/.dotfiles/config/starship.toml ~/.config/starship.toml
ln -nsf ~/.dotfiles/config/wezterm ~/.config/wezterm
if [ "$(uname)" == "Darwin" ]; then
brew bundle --file ~/.dotfiles/Brewfile
ln -nsf ~/.dotfiles/.zprofile ~/.zprofile
fi
# Installing tools
mkdir -p ~/.local/bin
ln -nsf ~/.dotfiles/bin/* ~/.local/bin
echo "Setting up ssh keys"
mkdir -p ~/.ssh
curl https://github.com/MarkusZoppelt.keys > ~/.ssh/authorized_keys