Autoinstall script#452
Open
lucc wants to merge 1 commit intoVundleVim:masterfrom
lucc:autoinstall
Open
Conversation
Contributor
Author
|
I rebased this on next and squashed the commits. It should only be merged after v0.10.2. |
Contributor
Author
|
I did some tests and the sourcing of the the github url now works as expected. I think I misstyped the urls befor or there was some weird caching going on. Now the only thing that is missing are some tests on other operating systems. I have only OS X here so Windows is still a question but as it is nearly pure vimscript it might work system independent. |
This script can be sourced to install Vundle.vim from github.com if it is not already installed. TODO: * test the sourcing of the url * test on different operating systems
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
previous attempts
This was mentioned some times already: #414, #144, #59
info
This PR puts the autoinstall code in a seperated script
autoinstall.vimwhich can be sourced directly from Vim. The user can thereby use a simple test to see if Vundle is installed and conditionally source the script.ToDo
I am not yet happy with the way I put this in the README if you have good ideas just tell me.
problem when testing
I noticed that vim is able to source files even with help of the netrw plugin (so the file can be an url). The only problem I have at the moment is to test this script via the github link. If I source my local copy it works and installs vundle. If I try
my vim uses
elinks -sourceto load the script to a temp file and then gives me errors as the tempfile seems to contain html code. Bothand
work fine on the command line. Also my private test script works fine:
(no worries it just containes
echo 'test successful')