Various configuration files for my development environment (vim, zsh, tmux, etc.). Includes an install script to create symbolic links in $HOME
. Works on both macOS and Linux.
- Clone to a directory of your choice (ex:
~/.dotfiles
.). - Update Git submodules:
git submodule update --init --recursive
. - Install optionals (Homebrew, rbenv, etc. - see sections below).
- Run
./install
to create or recreate the symlinks.
Install Homebrew (optional):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Adds completions for Zsh if brew is installed.
- Assigns
HOMEBREW_GITHUB_API_TOKEN
from a text file in~/.config/homebrew/.api_token
(need better secret management). - Includes a helper script to install required fonts via Homebrew. (
install-fonts
)
rbenv is supported, if installed.
git clone https://github.com/rbenv/rbenv-default-gems.git $(rbenv root)/plugins/rbenv-default-gems
- Oh My Zsh for plugin/configuration management.
- A font from Nerd Fonts installed and configured in your terminal emulator as the non-ASCII font. (helper script:
install-fonts
)
- Tmux Plugin Manager
- Powerline (requires a proper Python, not system)
- Plugin manager: vim-plug.
- GUI Vim requires the font
Hack Nerd Font
. (helper script:install-fonts
) - Universal Ctags is required for Gutentags.
- Assumes
~/projects/
for root project directory (used inGO_PATH
, etc.), not configurable but could be made to be so.
- Scripts for bootstrapping ruby/rbenv/default-gems, python/pyenv/packages.
- Dynamically generate section of tmux.conf that references powerline path based on above (can't seem to use ENV in tmux.conf).
Public Domain