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

19 lines
338 B
Bash
Raw Normal View History

2016-04-21 13:10:38 +02:00
#!/bin/bash
# Copies all dotfiles to the repo.
set -e
set -u
if [[ "$(basename `pwd`)" != "dotfiles" ]]; then
echo "Please execute this script in the repo's folder!"
exit 1
fi
rm -rf files/
mkdir -p files/
cp ~/.bashrc files/
cp ~/.bash_{aliases,colors,profile,utils} files/
cp ~/.gitconfig files/
2017-01-09 14:46:45 +01:00
cp ~/.hammerspoon/init.lua files/