Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix :Chmod error

  • Loading branch information...
commit 6a4d1933ad61ad94f2fa06905337a51cb0304ac1 1 parent 4abf1f5
@tpope authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugin/eunuch.vim
View
2  plugin/eunuch.vim
@@ -57,7 +57,7 @@ command! -bar -nargs=1 -bang -complete=custom,s:Rename_complete Rename
\ Move<bang> %:h/<args>
command! -bar -nargs=1 Chmod :
- \ echoerr split(system('chmod '.<q-args>.' -- '.shellescape(expand('%'))), "\n")[0] |
+ \ echoerr get(split(system('chmod '.<q-args>.' -- '.shellescape(expand('%'))), "\n"), 0, '') |
command! -bar -bang -complete=file -nargs=+ Find :call s:Grep(<q-bang>, <q-args>, 'find')
command! -bar -bang -complete=file -nargs=+ Locate :call s:Grep(<q-bang>, <q-args>, 'locate')
Please sign in to comment.
Something went wrong with that request. Please try again.