Configurations for:
- git
- tmux
- neovim
- zsh
git clone https://github.com/tdabboud/dotfiles.git ~/.dotfilescd ~/.dotfiles./install.sh <command>
Where <command> is one of:
* bootstrap -- install software packages
* dotfiles -- link all dotfiles
* all -- all of the above
- Git specific settings go in:
$HOME/.gitconfig.local - Shell/exports/env settings go in:
$HOME/.custom.local - Tmux settings go in:
$HOME/.tmux.local - ZSH PROMPT overrides go in:
$HOME/.prompt-overrides.zsh
The following lays out environment variables used throughout the dotfiles/scripts. These should be set in the custom config files mentioned above.
# Setup the Github Enterprise organization for easy cloning via gh
# Used in the `gheclone` function
export GHE_ORG="github.company.com"
# Path to the root code directory
# My directory structure for code, regardless of language, follows the GOPATH structure.
# Ex:
# $ <root_code_dir>/<enterprise>/<org>/<repo>
# $ /Users/tabboud/src/github.com/tabboud/dotfiles
#
# If set, used as the main search path in `gocd`
# Also used in `ghclone` and `gheclone` as the location to clone repos
export ROOT_CODE_DIR="$HOME/src"
# Regular GOPATH setting
# Used as the default search path in `gocd` if `$ROOT_CODE_DIR` is not set
export GOPATH="$HOME"
The following environment variables are supported zsh PROMPT overrides. These settings should be placed in the prompt override file mentioned above.
# This updates the terminal PROMPT prefix with a custom value.
# Used in the custom zsh theme.
# Defaults to "" if not set.
export PROMPT_OVERRIDE_USER="[PROD]"Overrides can be supplied by creating an overrides.lua module at the following path. This path is already in
.gitignore so all changes will not be tracked. The lua module should return a Config object with all expected overrides set.
hammerspoon/.hammerspoon/overrides.lua
- To remove all linked dotfiles, run the following:
./install.sh uninstall