Skip to content

Instantly share code, notes, and snippets.

@sigwyg
Created May 28, 2012 10:55
Show Gist options
  • Save sigwyg/2818495 to your computer and use it in GitHub Desktop.
Save sigwyg/2818495 to your computer and use it in GitHub Desktop.
Vimの$PATHに追加する
" Add $PATH
if has('vim_starting')
if isdirectory(expand('~/.nvm/v0.6.18/bin/'))
execute 'let $PATH="' . $PATH . ':' . $HOME .'/.nvm/v0.6.18/bin/"'
endif
endif
" autocmd Ver.
autocmd VimEnter * execute 'let $PATH="' . $PATH . ':' . $HOME .'/.nvm/v0.6.18/bin/"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment