These are my dotfiles, mostly copied from holman (including most of this readme). Notable changes from holman's project include:
- removed dependencies to homebrew
- removed most zsh stuff and use oh-my-zsh instead
- include oh-my-zsh as git sub-project to avoid separate installation?
- use omz to load my own zsh scripts as custom plugins?
- git
- zsh
- vim
- oh-my-zsh (NB: Currently installation will create/overwrite .zshrc)
- asdf via omz plugin
- zsh-syntax-highlighting (install as custom omz plugin)
First install dependencis, then run this:
git clone --recursive [email protected]:kjarnet/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./bootstrap.sh
chsh -s $(which zsh)
chsh
will change your default shell,
and will take effect from your next login.
Until next login, you can start zsh with the zsh
command.
The --recursive
argument is for cloning all git submodules as well.
Submodules are used for vim pathogen plugins.
You can read more about that here.
You then need to install node with
asdf plugin add nodejs
asdf install nodejs latest
# or
asdf install nodejs <version>
and then do this additional step:
cd ~/.dotfiles/vim/vim.symlink/bundle/tern_for_vim
npm install
There are a few special files in the hierarchy.
- bin/: Anything in
bin/
will get added to your$PATH
and be made available everywhere. - topic/*.symlink: Any files ending in
*.symlink
get symlinked into your$HOME
. This is so you can keep all of those versioned in your dotfiles but still keep those autoloaded files in your home directory. These get symlinked in when you runrake install
. - zsh/*.zsh: Any files in
/zsh/
directory ending in.zsh
get loaded by zshrc.