-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·42 lines (29 loc) · 1.12 KB
/
setup.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
41
42
#! /usr/bin/bash
echo "Downloading my dotfiles"
git clone https://github.com/rdlu/dotfiles.git ~/.dotfiles
./setup/terminal-base.sh
echo 'Link gitconfig'
ln -s ~/.dotfiles/.gitconfig ~/.gitconfig
echo "Creating dotfiles file links"
echo 'Installing TPM (TMUX Package Manager)'
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
ln -s ~/.dotfiles/tmux.conf ~/.tmux.conf
echo 'Linking Fish Shell Files'
mkdir -pv ~/.config/fish
rm ~/.config/fish/config.fish
ln -s ~/.dotfiles/fish/config.fish ~/.config/fish/config.fish
echo 'Updating startship conf'
ln -s ~/.dotfiles/config/starship.toml ~/.config/starship.toml
echo 'Updating Neovim conf with AstroNvim'
git clone https://github.com/AstroNvim/AstroNvim ~/.config/nvim
ln -s ~/.dotfiles/config/nvim/lua/user ~/.config/nvim/lua/user
echo 'Updating WezTerm conf'
ln -s ~/.dotfiles/wezterm ~/.config/wezterm
echo 'Updating Alacritty conf'
ln -s ~/.dotfiles/config/alacritty ~/.config/alacritty
echo 'Updating bash_profile...'
if [ -f ~/.bash_profile ]; then
echo ". ~/.dotfiles/bashrc" >> ~/.bash_profile
echo "...bash_profile ok"
fi
fish ./setup/fish-extras.sh