Configurations for:
- git
- tmux
- neovim
- zsh
git clone https://github.com/tdabboud/dotfiles.git ~/.dotfiles
cd ~/.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]"
- To remove all linked dotfiles, run the following:
./install.sh uninstall