Archived
1
0
Fork 0
This repository has been archived on 2024-06-19. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/update-files.sh
Christoph Heiss 5e837e59b7
alacritty: Move to ~/.config folder and clean up
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2022-12-26 16:27:10 +01:00

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 .