Permalink
Browse files

Bug fix: %s/xolox#open#shell/xolox#open#file/

  • Loading branch information...
1 parent 0efa5a9 commit 452e951e2fcc4c7afa5a8932a0fb4a9e709805a3 @xolox committed Sep 19, 2010
Showing with 6 additions and 6 deletions.
  1. +4 −4 autoload.vim
  2. +2 −2 shell.vim
View
@@ -1,6 +1,6 @@
" Vim auto-load script
" Author: Peter Odding <peter@peterodding.com>
-" Last Change: September 17, 2010
+" Last Change: September 19, 2010
" URL: http://peterodding.com/code/vim/shell/
if !exists('s:script')
@@ -13,14 +13,14 @@ endif
function! xolox#shell#open_cmd(arg) " -- implementation of the :Open command {{{1
if a:arg !~ '\S'
if !s:open_at_cursor()
- call xolox#open#shell(expand('%:p:h'))
+ call xolox#open#file(expand('%:p:h'))
endif
elseif a:arg =~ g:shell_patt_url || a:arg =~ g:shell_patt_mail
call xolox#open#url(a:arg)
else
let arg = fnamemodify(a:arg, ':p')
if isdirectory(arg) || filereadable(arg)
- call xolox#open#shell(arg)
+ call xolox#open#file(arg)
else
let msg = "%s: I don't know how to open %s!"
echoerr printf(msg, s:script, string(a:arg))
@@ -52,7 +52,7 @@ function! s:open_at_cursor()
let match = expand(match)
endif
if match != '' && (isdirectory(match) || filereadable(match))
- call xolox#open#shell(match)
+ call xolox#open#file(match)
endif
endif
endfunction
View
@@ -1,9 +1,9 @@
" Vim plug-in
" Author: Peter Odding <peter@peterodding.com>
-" Last Change: September 18, 2010
+" Last Change: September 19, 2010
" URL: http://peterodding.com/code/vim/shell/
" License: MIT
-" Version: 0.8
+" Version: 0.8.1
" Support for automatic update using the GLVS plug-in.
" GetLatestVimScripts: 3123 1 :AutoInstall: shell.zip

0 comments on commit 452e951

Please sign in to comment.