Skip to content

Commit 452e951

Browse files
committed
Bug fix: %s/xolox#open#shell/xolox#open#file/
1 parent 0efa5a9 commit 452e951

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

autoload.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
" Vim auto-load script
22
" Author: Peter Odding <peter@peterodding.com>
3-
" Last Change: September 17, 2010
3+
" Last Change: September 19, 2010
44
" URL: http://peterodding.com/code/vim/shell/
55

66
if !exists('s:script')
@@ -13,14 +13,14 @@ endif
1313
function! xolox#shell#open_cmd(arg) " -- implementation of the :Open command {{{1
1414
if a:arg !~ '\S'
1515
if !s:open_at_cursor()
16-
call xolox#open#shell(expand('%:p:h'))
16+
call xolox#open#file(expand('%:p:h'))
1717
endif
1818
elseif a:arg =~ g:shell_patt_url || a:arg =~ g:shell_patt_mail
1919
call xolox#open#url(a:arg)
2020
else
2121
let arg = fnamemodify(a:arg, ':p')
2222
if isdirectory(arg) || filereadable(arg)
23-
call xolox#open#shell(arg)
23+
call xolox#open#file(arg)
2424
else
2525
let msg = "%s: I don't know how to open %s!"
2626
echoerr printf(msg, s:script, string(a:arg))
@@ -52,7 +52,7 @@ function! s:open_at_cursor()
5252
let match = expand(match)
5353
endif
5454
if match != '' && (isdirectory(match) || filereadable(match))
55-
call xolox#open#shell(match)
55+
call xolox#open#file(match)
5656
endif
5757
endif
5858
endfunction

shell.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
" Vim plug-in
22
" Author: Peter Odding <peter@peterodding.com>
3-
" Last Change: September 18, 2010
3+
" Last Change: September 19, 2010
44
" URL: http://peterodding.com/code/vim/shell/
55
" License: MIT
6-
" Version: 0.8
6+
" Version: 0.8.1
77

88
" Support for automatic update using the GLVS plug-in.
99
" GetLatestVimScripts: 3123 1 :AutoInstall: shell.zip

0 commit comments

Comments
 (0)