dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit cef520d2377f879f63d7fefb368524fc1a93418b
parent 2aab0f7837398bb59e18d1c1172a76e50a5e531f
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Thu, 20 Jan 2022 03:35:01 -0500

Add setup script

Diffstat:
Asetup.sh | 18++++++++++++++++++
1 file changed, 18 insertions(+), 0 deletions(-)

diff --git a/setup.sh b/setup.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +chmod 750 ~ + +# Remove stuff OpenBSD adds by default +rm -f ~/.cshrc ~/.cvsrc ~/.login ~/.mailrc ~/.Xdefaults + +# Create directory structure +mkdir -p ~/Documents/projects ~/Documents/notes ~/Downloads ~/NAS ~/.ssh + +# Clone dotfiles and apply them to the system +git clone https://git.sr.ht/~jbauer/dotfiles ~/Documents/projects/dotfiles +cd ~/Documents/projects/dotfiles +for file in .????*; do + cp -r "$file" ~ +done