This is my way to personalize my terminal.
Based on holman's article, it isn't a fork from holman's dotfiles but it's using some files stoled from there. 🤫
Actually I also made it a way to manage the apps that I use on my machine using mas (for apps I use from Apple Store) and Homebrew (for command-line and some other apps not available on Apple Store).
If you are on Mac I recommend:
- Make sure you already have logged in on Apple store to be able to use mas
- Run
xcode-select --install
./installer
- Install zsh
- Execute all
install.shfiles with a terminal progress UI - Keep per-installer logs under your system temp directory
Preview the installer list without running anything:
./installer --dry-run
To add your own list of apps to the brew installation process,
create your own Brewfile on your home directory (~/.Brewfile)
./bootstrap
- Make a copy of all
.zshfile to$HOME/.dotfiles - Configure the zsh using files in the hierarchy:
| Pattern | Description |
|---|---|
| dir/*.zsh | loaded into your environment. |
| dir/path.zsh | loaded first and is expected to setup $PATH or similar. |
| dir/completion.zsh | loaded last and is expected to setup autocomplete. |
| dir/*.symlink | copy (hide) into your $HOME. |
Preview bootstrap changes without writing files:
./bootstrap --dry-run
Run without prompts, backing up conflicting files automatically:
./bootstrap --yes
./macos
Optional guided macOS preferences wizard. It is not run by the installer, and every tweak starts with an option to keep the current setting. It covers language/timezone, Finder, Dock, Mission Control, Hot Corners, Trackpad, Keyboard, Accessibility, Screen, Mouse, and screenshots.
Preview selected tweaks without applying them:
./macos --dry-run
Save selected tweaks for reuse:
./macos --save ~/.macos-tweaks.local
Apply saved tweaks:
./macos --config ~/.macos-tweaks.local
To create your own configurations create a ~/.localrc and it will be loaded by zsh