UNIX is basically a simple operating system, but you have to be a genius to
understand the simplicity.
—
Dennis Ritchie
My macOS environment, profiles, setup, and various dotfiles
This repository could be installed using the provided install
script.
curl --proto '=https' --tlsv1.2 -sSf https://zakhary.dev/dotfiles/install.sh | shStart by cloning this repository to your home directory:
git clone https://github.com/kaplanz/dotfiles.git ~/.dotsNext, you should be able to run the installer locally:
~/.dots/bin/dots installFirst, ensure you have all dependencies installed:
- Install
zsh, for example:sudo apt install zsh - Install
fdfind(ensure that you also symlink tofd, if applicable) - Install
eza - Install
neovim(often the version inaptis out of date) - Install all other dependencies in the
Brewfile, for example:sudo apt install bat coreutils fzf ripgrep stow tmux
Then clone the repository:
git clone https://github.com/kaplanz/dotfiles.git ~/.dotsBefore you run the installation script, set the DOTS env:
export DOTS=~/.dotsNow you should be able to run the installer locally, as normal:
~/.dots/bin/dots installOf course, don't forget to change your default shell to zsh:
chsh -s $(which zsh)Log out and log in again, then open a terminal to confirm that zsh is now the default.
Some features of this repository have dependencies as listed in the
Brewfile. Before installing, ensure brew and zsh are
installed.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"For more information on using brew, see its website.
Dotfiles are installed through symlinks to various home subdirectories. To set
up directories and link all dotfiles, use the Makefile.
make --directory=~/.dotsAll managed dotfiles can be uninstalled using the Makefile with:
make --directory=~/.dots uninstall