Personal macOS config. Zsh, Antidote, Zed, and helpers.
git clone [email protected]:OzzyCzech/dotfiles.git ~/.dotfiles && cd $_ && makeInstall Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Install tools:
brew install git zsh zsh-completions antidote zed- Zsh — interactive shell
- Zsh Completions — extra completions
- Antidote — fast Zsh plugin manager
- Git — version control
- Zed — code editor
Set Zsh as default shell:
chsh -s /bin/zshScripts live in setup/ (see setup/README.md for layout):
- apps/ — app-specific defaults (Dock, Finder, Mail, …): run e.g.
zsh setup/apps/finder.zsh - system/ — system & input (keyboard, screensaver, updates); some define functions loaded via
defaults.zsh
Load helper functions and run one-off tweaks:
source ./setup/defaults.zshHelps recover a lost device.
set-lock-message " Roman Ožana • +420 605 783 455 • [email protected]"
set-screen-capture ~/Downloadszip -r ~/Downloads/ssh.zip ~/.sshA Swift-based backup utility is included for saving your configuration files and important data. It supports backing up specified files or files listed in a JSON config, only including files and directories that exist. The utility is found in utils/backup.swift and is available in ~/.bin/backup after running make utils.
Usage:
-
To backup specific files or directories:
backup <source1> <source2> ... <out-directory>
-
To backup paths defined in a JSON configuration:
backup -c <config.json> <out-directory>
The JSON config supports lists of paths or groupings for organizing backups. Only files/directories that exist (paths with ~ are supported) will be copied into the backup output directory, retaining relative structure.
For more details and config examples, refer to comments in utils/backup.swift.