dotfiles/backup.sh
2023-10-09 10:00:01 -05:00

12 lines
341 B
Bash
Executable file

#!/usr/bin/env bash
set -e
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
rm -rf $GIT_DIR/fish
rm -rf $GIT_DIR/kitty
rm -rf $GIT_DIR/nvim
cp -r $HOME/.config/fish/ $GIT_DIR
mv $GIT_DIR/fish/conf.d/universal.fish $GIT_DIR/universal-shellrc.txt
cp -r $HOME/.config/kitty/ $GIT_DIR
cp -r $HOME/.config/nvim/ $GIT_DIR