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

29 lines
365 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
cd "$(dirname "${BASH_SOURCE[0]}")"
2016-04-21 13:10:38 +02:00
cp -v \
~/.zshrc \
~/.gitconfig \
~/.tmux.conf \
~/.config/nvim/init.vim \
files/
2017-06-24 15:23:30 +02:00
case `uname` in
Linux )
cp -v ~/.zsh_platform files/.zsh_platform_linux
;;
Darwin )
cp -v ~/.zsh_platform files/.zsh_platform_darwin
;;
esac