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
Executable file

#!/bin/bash
# Copies all dotfiles to the repo.
set -e
set -u
cd "$(dirname "${BASH_SOURCE[0]}")"
cp -v \
~/.zshrc \
~/.gitconfig \
~/.tmux.conf \
~/.config/nvim/init.vim \
files/
case `uname` in
Linux )
cp -v ~/.zsh_platform files/.zsh_platform_linux
;;
Darwin )
cp -v ~/.zsh_platform files/.zsh_platform_darwin
;;
esac