Home

Awesome

Dotfiles

I don't want to waste time setting up my machines, so I spent years maintaining dotfiles.

Dotfiles are meant to be forked, but mine aren't. These scripts install many things you won't ever use. Feel free to look around and copy some of my script to fit your needs.

Chezmoi

The latest version of my dotfiles are managed with Chezmoi. I was using Dotbot & Ansible before.

TODOs

Usage

ASK=1 sh -c "$(curl -fsSL https://raw.githubusercontent.com/narze/dotfiles/master/remote_install.sh) -k -v"

First installation will ask for your name so you can customize a bit, and it will skip the encryped files, since you have to retrieve the GPG private key manually later. Removing ASK=1 will use my names for the machine.

Mostly the script will not run completely on the first go, run chezmoi -k apply again until everything is setup properly.

After the first installation you can always change the variables via ASK=1 chezmoi init or run chezmoi edit-config

To change the data or script, chezmoi cd, edit them, then run chezmoi apply.

Manual tasks (One-time per machine)

Features

$ make
help                           Print command list
dotfiles                       Update dotfiles
apply                          Run chezmoi apply
macos                          Run macos script

Installed Applications & Tools

<details> <summary><b>Notes</b> (If you have some time to read)</summary>

Zsh + Fish

After the recent drama with Zinit, I decided to give Fish a try, it is good but I also want to still maintain my Zsh configuration. I migrated the settings to zsh4human which is maintained by the one who made Powerlevel10k. It's 2-3x faster than Zinit as of now.

I'll separate the dotfiles script to install zsh or fish separately to save some space. You can also install both like mine.

Development on Github Codespaces

Open in GitHub Codespaces

Apple Silicon

Here are the list of issues I've found on running the script on M1 Macbooks (Tested on both Macbook Air & Macbook Pro)

Apple Silicon specific commands