Skip to content

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

Notifications You must be signed in to change notification settings

OzzyCzech/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

370 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OzzyCzech's dotfiles

Personal macOS config. Zsh, Antidote, Zed, and helpers.

Quick start

git clone [email protected]: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 zed

Set Zsh as default shell:

chsh -s /bin/zsh

Setup scripts

Scripts 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.zsh

Lock screen message

Helps recover a lost device.

set-lock-message " Roman Ožana • +420 605 783 455 • [email protected]"
set-screen-capture ~/Downloads

Backup SSH keys

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

Backup with backup utility

A 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.

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

No packages published

Contributors 5