The structure and many (most?) of the files in this repository are forked from Zach Holman's dotfiles. See his post on the subject.
Everything's built around topic areas. If you're adding a new area to your
forked dotfiles — say, "Java" — you can simply add a java directory and put
files in there. Anything with an extension of .zsh will get automatically
included into your shell. Anything with an extension of .symlink will get
symlinked without extension into $HOME when you run script/bootstrap.
There's a few special files in the hierarchy.
- bin/: Anything in
bin/will get added to your$PATHand be made available everywhere. - Brewfile: This is a list of applications for Homebrew to install.
- topic/*.zsh: Any files ending in
.zshget loaded into your environment. - topic/path.zsh: Any file named
path.zshis loaded first and is expected to setup$PATHor similar. - topic/completion.zsh: Any file named
completion.zshis loaded last and is expected to setup autocomplete. - topic/*.symlink: Any files ending in
*.symlinkget symlinked into your$HOME. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you runscript/bootstrap.
Run this:
git clone https://github.com/jeremyfelt/dotfiles.git ~/dotfiles
cd ~/dotfiles
script/bootstrapThis will symlink the appropriate files in dotfiles to your home directory.
Everything is configured and tweaked within ~/dotfiles.
The main file you'll want to change right off the bat is zsh/zshrc.symlink,
which sets up a few paths that'll be different on your particular machine.
dot is a simple script that installs some dependencies, sets sane OS X
defaults, and so on. Tweak this script, and occasionally run dot from
time to time to keep your environment fresh and up-to-date. You can find
this script in bin/.
reload! is included to re-source new aliases, etc...
Two scripts are provided to backup and restore the ~/Development directory:
Creates timestamped tar archives of each project in ~/Development:
backup-developmentArchives are saved to ~/Desktop/<timestamp>-Development/ with each project as a separate tar file.
Restores tar archives from a backup directory back to ~/Development:
restore-development-backup ~/Desktop/20250106-1234-DevelopmentThis extracts all .tar files from the specified directory into ~/Development.
- Bitwarden
- Harvest
- NepTunes
- Slack
- Sequel Ace
- Firefox
- Raycast
- Claude
- Zed
- Code
- After installation, open VS Code and use the command palette to install the shell command.
- Install One Monokai theme:
code --install-extension azemoh.one-monokai - Install intelephense:
code --install-extension bmewburn.vscode-intelephense-client- Install WP Hooks:
code --install-extension johnbillion.vscode-wordpress-hooks - Install PHP Debug:
code --install-extension xdebug.php-debug
- Install WP Hooks:
- Obsidian
- Chrome
- Cleanshot X
And then when you need them:
- Calibre https://calibre-ebook.com/download_osx
- Loom
- NordVPN
- Ollama
- Spotify
- Zoom
valet installvalet use php@8.4brew services start mariadbmysql(GRANT ALL PRIVILEGES ON *.* TO ...@localhost IDENTIFIED BY '...')- Inside
~/Developmentdirectory, runvalet park- subdirectories will now work - Run
valet secureinside one of the subdirectories and certificates will be installed.
restore-db-local {backup-dir}restore-development-local {backup-dir}
- Xcode - I don't really understand the relationship between Xcode and the terminal, but strange stuff happens and then I find myself installing this.
- I really thought
xcode-select --installwas supposed to take care of things, but it likely does cd /usrnot. /shrug
- I really thought
zsh compinit: insecure directories, run compaudit for list.- I was getting this toward the end of installation and when I ran
compauditwas told that/usr/local/share/zshwas insecure. - I ran
sudo chmod -R 755 /usr/local/share/zsh, which removed the group write permissions, and it stopped showing incompaudit. - Before doing that I had also tried
sudo chmod -R 755 /usr/local/share/zsh/site-functions, but failed to check permissions orcompauditbeforehand. - After restarting zsh, my auto completion issue (
_complete:96: bad math expression: operand expected at end of string) was resolved as well.
- I was getting this toward the end of installation and when I ran
lsdidn't work after abrew upgradeupdated Pythonzsh: /opt/homebrew/bin/grc: bad interpreter: /opt/homebrew/opt/python@3.10/bin/python3: no such file or directory- I ran
brew uninstall grcandbrew install grcand it worked.