diff --git a/plug.vim b/plug.vim index 2d35942..ab07873 100644 --- a/plug.vim +++ b/plug.vim @@ -1518,7 +1518,7 @@ function! s:snapshot(...) abort \ ['@echo off', ':: Generated by vim-plug', ':: '.strftime("%c"), '', \ ':: Make sure to PlugUpdate first', '', 'set PLUG_HOME='.s:esc(home)]] : \ ['sh', '$PLUG_HOME', - \ ['#!/bin/bash', '# Generated by vim-plug', '# '.strftime("%c"), '', + \ ['#!/bin/sh', '# Generated by vim-plug', '# '.strftime("%c"), '', \ 'vim +PlugUpdate +qa', '', 'PLUG_HOME='.s:esc(home)]] call s:prepare() diff --git a/test/workflow.vader b/test/workflow.vader index 7ecf517..cc78d51 100644 --- a/test/workflow.vader +++ b/test/workflow.vader @@ -1017,7 +1017,7 @@ Execute (PlugSnapshot): PlugClean! PlugInstall PlugSnapshot - AssertEqual '#!/bin/bash', getline(1) + AssertEqual '#!/bin/sh', getline(1) AssertEqual '# Generated by vim-plug', getline(2) AssertEqual 'vim +PlugUpdate +qa', getline(5) AssertEqual 'PLUG_HOME=$TMPDIR/plugged', getline(7)