My dotfiles, inspired by holman/dotfiles.
git clone git@github.com:chuyeow/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
script/bootstrap
The script/bootstrap script sets things up by symlinking
files in .dotfiles
to your home directory. Everything lives within
~/.dotfiles
.
Everything's built around topic areas. If you're adding a new area, say, "Go",
you can simply add a go
directory and put files in there. Anything with an
extension of .zsh
will get automatically included into your shell. Anything
with an extension of .symlink
will get symlinked without extension into
$HOME
when you run script/bootstrap
.
bin/
: Anything inbin/
will get added to your$PATH
and be made available everywhere.topic/*.zsh
: Any files ending in.zsh
get loaded into your environment.topic/path.zsh
: Any file namedpath.zsh
is loaded first and is expected to setup$PATH
or similar.topic/completion.zsh
: Any file namedcompletion.zsh
is loaded last and is expected to setup autocomplete.topic/*.symlink
: Any files ending in*.symlink
get symlinked into your$HOME
.
Set up OS X the way I like it:
./osx/set-defaults.sh
- Use different files depending on OS (e.g.
tmux.conf
for Mac OX S usesreattach-to-user-name
).