Config files for zsh + Prezto, a git-info prompt, bash, git, vim, and iTerm.
Install zsh+Prezto, clone this repo and run setup.sh (which also calls setupgit.sh).
Please review setup.sh to see what it does. It may overwrite your current configs.
I haven't gotten around to testing an install from scratch. For now you'd have to install zsh, Prezto, possibly Vim+submodules, t (trash), etc. manually.
After installing zsh & Prezto, replace the default symlinks it made, with new ones, pointing them instead to the z* files in dotfiles. (setup.sh does this for you).
E.g. In your ~ directory, do...
% ln -sf dotfiles/shell/zpreztorc .zpreztorc
- t - Cross-platform command-line app for moving files and directories to the trash - A safer alternative to
rm - bat - CLI syntax highlighter/colorizer
- lorem - CLI lorem ipsum where you can specify char counts, etc.
- ggb - An interactive CLI tool for choosing local branches in your terminal.
- It makes symlinks of .files hard-coded in the script
- Makes backups of any .extra/.gitconfig it may find in $HOME
- Copies a template .gitconfig & .extra to $HOME in their place (prompts for overwriting)
- Finally, it runs setupgit.sh
- loads the .gitconfig template
- prompts for your full Git name, email, and push default
- does a
git config --global --replace-allusing your input, which updates your new, local .gitconfig
Just some highlights included in this dotfiles:
al- list aliases colorizedalg- list 'git' aliases colorizedt $1- likerm, but moves files to trashgco-- quickly git-checkout toggle between 2 branches-- quickly cd toggle between 2 pathsvim- customizations/enahncements, vim-plug plugin manager
- Remote Git branch on the right
- Time-stamp & local Git branch info on the left
- Path is abbreviated. Full path shown on terminal title/tab bar (iTerm2)
- Dual line prompt
- Clean - just a blue branch name without any symbols
- Dirty/modified - ✗
- Added/deleted files - +, -
- Ahead/behind - ↑, ↓
- Anything stashed - ✭
- Anything untracked - ~
Local/customized files that should stay local/private...
- ~/.extra
- ~/.gitconfig (git author, email, push setting)
- ~/.vim.local
- ~/.vim.bundles.local
Huge thanks to the following people for their dotfile/coding inspiration.

