Skip to content

Instantly share code, notes, and snippets.

@ohcibi
Created February 29, 2016 09:41

Revisions

  1. ohcibi renamed this gist Feb 29, 2016. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. ohcibi created this gist Feb 29, 2016.
    7 changes: 7 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    autoload -U add-zsh-hook
    load-nvmrc() {
    if [[ -f .nvmrc && -r .nvmrc ]]; then
    nvm use
    fi
    }
    add-zsh-hook chpwd load-nvmrc