Skip to content

OzzyCzech/dotfiles

Repository files navigation

OzzyCzech's dotfiles

Personal macOS config. Zsh, Antidote, and helpers.

Quick start

git clone git@github.com:OzzyCzech/dotfiles.git ~/.dotfiles && cd $_ && make

Prerequisites

Install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install tools:

brew install git zsh zsh-completions antidote powerlevel10k

Set Zsh as default shell:

chsh -s /bin/zsh

Repository structure

Directory Description
zsh/ Zsh config — aliases, paths, prompt, history, AI helpers, Docker, eza, etc.
bin/ Compiled utilities (del, encode64, passgen, mac-cleanup, mac-upgrade)
utils/ Swift source for utilities in bin/
setup/ macOS defaults scripts (Finder, Dock, keyboard, …) — see setup/readme.md
apps/ Homebrew and Mac App Store app lists (brew-list.txt, mas-list.txt, …)
config/ App configs (Zed, Ghostty, cmux, yt-dlp) — symlinked into ~/.config/
icns/ Custom volume icons

What make install does

  1. Creates ~/.hushlogin
  2. Symlinks git config (.gitconfig, .gitignore_global) and sets core.excludesfile
  3. Symlinks zsh dotfiles (.zshrc, .zsh_plugins.txt, .p10k.zsh, .zprofile) and directories (zsh/~/.zsh, bin/~/.bin)
  4. Symlinks config/ entries into ~/.config/ (Zed, Ghostty, cmux, yt-dlp)

Utilities

Compile Swift utilities into bin/:

make utils
Utility Description
del Move files to Trash (safe delete)
encode64 Base64 encode/decode
passgen Generate passwords and passphrases
mac-cleanup Shell script — clean caches/logs/Trash
mac-upgrade Shell script — upgrade brew, mas, npm

Setup scripts

Scripts in setup/ configure macOS defaults. Run individually:

zsh setup/apps/finder.zsh
zsh setup/apps/dock.zsh
zsh setup/system/keyboard.zsh

Load helper functions:

source ./setup/defaults.zsh

Then use:

set-lock-message "Roman Ozana • roman@ozana.cz • +420 605 783 455"
set-screen-capture   # screenshots to ~/Downloads
set-screen-saver     # disable screensaver, require password immediately
set-software-updates # enable automatic updates

Zsh plugins

Managed by Antidote via .zsh_plugins.txt:

Prompt

The prompt is Powerlevel10k configured to look like the classic robbyrussell oh-my-zsh theme — same ➜ dir git:(branch) ✗ style, just rendered with async git status and instant-prompt support for snappier startup.

The config in .p10k.zsh is a copy of the p10k-robbyrussell.zsh template shipped with Powerlevel10k. Tweak it directly or run p10k configure to generate a different style.

Backup SSH keys

zip -r ~/Downloads/ssh.zip ~/.ssh

Get inspired

https://dotfiles.github.io/inspiration/

About

This is a collection of my personal dotfiles for configuring macOS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors