23 lines
446 B
Bash
Executable file
23 lines
446 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Copies all dotfiles to the repo.
|
|
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
|
|
RSYNC="rsync --archive --info=name1"
|
|
|
|
$RSYNC $HOME/.gitconfig gitconfig
|
|
$RSYNC $HOME/.latexmkrc latexmkrc
|
|
$RSYNC $HOME/.zshrc zshrc
|
|
|
|
for d in alacritty; do
|
|
$RSYNC $HOME/.config/$d .
|
|
done
|
|
|
|
$RSYNC --exclude plugins $HOME/.config/tmux .
|
|
|
|
$RSYNC \
|
|
--exclude autoload --exclude plugged --exclude session \
|
|
$HOME/.config/nvim .
|