Skip to content

Commit

Permalink
created .vim and .vim/autoload folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Proful committed Aug 9, 2011
1 parent c6fcdc7 commit dd131fb
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions index.coffee
Expand Up @@ -13,6 +13,13 @@ child = exec script,(error,stdout,stderr)->
console.log '~/.gvimrc ==> ~/.gvimrc.old'
console.log '~/.vim ==> ~/.vim.old'

# Create ~/.vim folder
# Create ~/.vim/autoload folder

# Create ~/.vim folder
# Create ~/.vim/autoload folder
# TODO: just given default mode 0777. Not sure much.
# I think 777 gives read,write and execute access to the user
# Looks like node does not support creating folder with relative path. '~/.vim'
# I got error: Error: ENOENT, No such file or directory '~/.vim'
fs.mkdirSync process.env.HOME + '/.vim',0777
console.log 'Created .vim folder'
fs.mkdirSync process.env.HOME + '/.vim/autoload',0777
console.log 'Created .vim/autoload folder'

0 comments on commit dd131fb

Please sign in to comment.