dotfiles/restore.sh
2023-10-10 20:25:23 -05:00

15 lines
478 B
Bash
Executable file

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