dotfiles/backup.sh

12 lines
334 B
Bash
Raw Normal View History

2023-10-08 22:26:07 -05:00
#!/usr/bin/env bash
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