Skip to content

kjarnet/dotfiles

 
 

Repository files navigation

Kjarnet's Dotfiles

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

TODO

  • include oh-my-zsh as git sub-project to avoid separate installation?
  • use omz to load my own zsh scripts as custom plugins?

Dependencies

Install

First install dependencis, then run this:

git clone --recursive git@github.com: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.

Note that this will also install nvm (node version manager) through zsh-nvm.

You then need to install node with

nvm install node
# or
nvm install --lts
# or
nvm install <version>

and then do this additional step:

cd ~/.dotfiles/vim/vim.symlink/bundle/tern_for_vim
npm install

Contents

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 run rake install.
  • zsh/*.zsh: Any files in /zsh/ directory ending in .zsh get loaded by zshrc.

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 85.6%
  • Shell 12.5%
  • Other 1.9%