-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.sh
executable file
·27 lines (24 loc) · 1.13 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
#!/usr/bin/env sh
set -v -o pipefail
echo "ensuring $HOME/.config exists.."
[[ -d "$HOME/.config" ]] && mkdir "$HOME/.config"
echo "ensuring Packer is installed for nvim.."
if [[ ! -d "$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim" ]]; then
git clone 'https://github.com/wbthomason/packer.nvim' "${HOME}/.local/share/nvim/site/pack/packer/start/packer.nvim"
fi
echo "symlinking dotfiles.."
ln -sf ~/.dotfiles/files/.shell_env ~/.shell_env
ln -sf ~/.dotfiles/files/.bash_profile ~/.bash_profile
ln -sf ~/.dotfiles/files/.bash_env ~/.bash_env
ln -sf ~/.dotfiles/files/.bashrc ~/.bashrc
ln -sf ~/.dotfiles/files/.zshenv ~/.zshenv
ln -sf ~/.dotfiles/files/.zshrc ~/.zshrc
ln -sf ~/.dotfiles/files/.aliases ~/.aliases
ln -sf ~/.dotfiles/files/.tmux.conf ~/.tmux.conf
ln -sf ~/.dotfiles/files/.vimrc ~/.vimrc
ln -sf ~/.dotfiles/files/.config/nvim ~/.config/nvim
ln -sf ~/.dotfiles/files/.config/starship.toml ~/.config/starship.toml
ln -sf ~/.dotfiles/files/.config/tmuxp ~/.config/tmuxp
ln -sf ~/.dotfiles/files/.config/alacritty ~/.config/alacritty
ln -sf ~/.dotfiles/files/.scripts ~/.scripts
ln -sf ~/.dotfiles/files/.gitconfig ~/.gitconfig