mirror of
https://github.com/junegunn/vim-plug.git
synced 2026-09-30 23:52:20 +08:00
Fix #159 by temporarily setting &shell to sh
This commit is contained in:
1 parent
61f010ffad
commit
79da5b2654
2 files changed
+31
-6
No files matched your search
@@ -201,3 +201,20 @@ Execute (#145: Merging on-demand loading triggers - map):
|
||||
Assert empty(mapcheck("<Plug>(xxx)"))
|
||||
Assert empty(mapcheck("<Plug>(yyy)"))
|
||||
|
||||
**********************************************************************
|
||||
Execute (#159: shell=/bin/tcsh):
|
||||
let org = &shell
|
||||
try
|
||||
set shell=/bin/tcsh
|
||||
call plug#begin('$TMPDIR/plugged')
|
||||
Plug 'junegunn/seoul256.vim'
|
||||
call plug#end()
|
||||
|
||||
PlugStatus
|
||||
Log getline(1, '$')
|
||||
q
|
||||
AssertEqual '/bin/tcsh', &shell
|
||||
finally
|
||||
let &shell = org
|
||||
endtry
|
||||
|
||||
Reference in new issue
Block a user