My Dotfiles.
Find a file
2024-08-09 15:20:46 -04:00
.config Set $ENV so that BusyBox ASH loads up my init scripts. 2024-04-19 08:02:10 -04:00
.ssh Add SSH public key for completeness. 2024-02-16 16:28:23 -05:00
.aliases Well, I guess I'm using Neovim now. 2024-03-16 10:51:44 -04:00
.ashrc Update .ashrc 2024-08-09 15:20:46 -04:00
.fortunes Add fortunes file. 2024-01-06 10:00:51 -05:00
.gitconfig Update dotfiles. 2024-08-09 15:08:47 -04:00
.profile Initial Alpine Linux Dotfiles. 2024-01-06 09:08:11 -05:00
.sqliterc Initial Alpine Linux Dotfiles. 2024-01-06 09:08:11 -05:00
.tmux.conf Initial Alpine Linux Dotfiles. 2024-01-06 09:08:11 -05:00
README.md Make audio work. 2024-04-19 16:41:12 -04:00

Dotfiles

These are my dotfiles. As you will notice, they are quite simple. Over the years, I have built up many complex and fancy init scripts for many different programs, but I've come to realize that sometimes simplicity and defaults are better.

The dotfiles here are just the basics—useful aliases and functions that have stuck around throughout the years. They're minimal, but useful. The main part of my .ashrc is the customized prompt, which supports showing the current git branch.

My shell init scripts are written in POSIX shell, so they should work on any shell. As I've hopped from Ubuntu to Arch to OpenBSD to FreeBSD and now to Alpine, I've used a lot of shells, and I want my init scripts to work on all of them out of the box.

System Setup

My current operating system of choice is Alpine Linux. If I ever re-install, this is the set up procedure:

setup-desktop gnome
apk add networkmanager-wifi wpa_supplicant
rc-update add wpa_supplicant default
rc-update add networkmanager default

# Printing
apk add system-config-printer cups cups-filters
rc-update add cupsd default

# Scanning
apk add sane-backends # Gnome scanner will pick up network scanners now

# Other GUI applications
apk add libreoffice musescore nextcloud-client

# Spell checking in Libreoffice.
apk add hunspell hunspell-en hunspell-en-us

# Development
apk add neovim pandoc git less make gcc musl-dev openssl-dev mandoc man-pages

To make sure sound and webcams work:

doas addgroup $USER audio
doas addgroup $USER video

Firefox

I use the following Firefox extensions:

Files

Theoretically, everything important that I care about should live in ~/Documents and ~/Projects, so I just have to copy those folders over to new systems.

Backup

I use the following command to back up my stuff to my server, which then takes a ZFS snapshot for me:

rsync -av --delete --exclude .cache "$HOME/" server:$HOME/"

Eventually I will use ZFS on my laptop.