Commit Graph

62 Commits

Author SHA1 Message Date
Steve Francia
70c38b1484 Merge pull request #664 from jinnovate/HOME-set
Ensure HOME environmental variable set
2014-08-26 16:07:26 -04:00
spf13
4229220da6 Adopting the Apache 2 License. Fixed #653 2014-08-26 16:02:03 -04:00
Jonathan A. Epstein
203d640141 Ensure HOME environmental variable set
When working with puppet (and other setups), it is possible the HOME environmental variable is unset. This
leads to a spf13 bootstrap which does not perform as expected because `$HOME` is empty. This results in files being written to undesirable locations such as `/.spf13-vim-3/.vimrc.bundles` Let's stop the user before they get into this bad state.
2014-08-20 23:41:16 -04:00
Steve Francia
9028b86c7f Merge pull request #605 from krblt/default-bundles
Introduce .vimrc.bundles.default
2014-06-04 11:06:14 -04:00
Copperfield
85cbd48c75 Update bootstrap.sh 2014-05-04 12:48:34 +02:00
Gokhan KARABULUT
1f5d4da95a Fix setup_vundle to install default bundles. 2014-05-03 22:51:54 +03:00
krblt
cb6e5634bb Introduce .vimrc.bundles.default 2014-05-03 20:24:34 +03:00
Cade-Forester
52f6b415ba Update bootstrap.sh 2014-03-21 08:14:12 -07:00
Johnny Robeson
507b6b01ac add $app_dir var to point to application root
This is about the same as the %BASE_DIR% var in the windows
scripts
2014-02-10 03:55:33 -05:00
Steve Francia
2030f7e6c7 Merge pull request #543 from matlads/3.0
allow git_uri and vundle_uri to be set in ENV for bootstrap.sh
2014-02-03 11:44:15 -08:00
Johnny Robeson
f68eb5a10e fix spelling of occurred in debug() 2014-02-02 16:17:17 -05:00
Martin Atukunda
81144413eb bash requires the space in this case 2014-01-31 10:41:47 +03:00
Martin Atukunda
0bdeca5082 store the vundle uri in a variable.
I sometimes need to use other git transports (as opposed to https) and having these uris readable from the environment helps.
2014-01-31 10:37:49 +03:00
lengyuefeng
4778fb2ded fix bug of .vim directory
In the repo, there's no .vim directory, so I think the shell should
create it first.
2013-09-14 16:28:19 +08:00
Stephen Bennett
b2389817c3 Populate .vimrc.before with all spf13 options
* .vimrc.before should not be modified (just like any other non-local
  or non-fork config file)
* .vimrc.before contains a list of all options that can be set
* .vimrc.before.local is where these options would actually be set
* support .vimrc.before and .vimrc.before.fork in install scripts
2013-09-05 01:34:43 -06:00
Ferhat
7cc2115660 Update bootstrap.sh
See discussion in: https://github.com/spf13/spf13-vim/issues/409
I've tried this script myself too and it works. Please have a look
2013-08-01 03:17:35 +02:00
Jacob Walker
f0ce722023 Installer: Define Git URI for Easier Forking 2013-07-31 11:12:02 -05:00
spf13
f4ef06088c making new installer posix compliant 2013-07-29 22:25:12 -04:00
Ferhat
c5a5bf7fa3 Update bootstrap.sh 2013-07-22 02:05:12 +02:00
Ferhat
f705335f0a Update bootstrap.sh
Replacing _#!/usr/bin/env_ bash with _#!/bin/bash_
2013-07-22 01:56:59 +02:00
Fernandos
045777a89c refined do_backup(), removed lnif(), added fork_maintainer flag, creating empty .vimrc.local now 2013-07-17 04:22:16 +02:00
Fernandos
809b0c8d22 re-enabling backup script 2013-07-16 23:24:47 +02:00
Fernandos
7f0431c609 Fixed incorrect quoting and closing issue #190 and similar problems with vundle. 2013-07-16 23:21:17 +02:00
Fernandos
e429210b09 refactored bootstrap.sh into seperate functions. Fixed an installer bug that caused dead and circular symlinks and also failed at git clone. 2013-07-16 23:02:48 +02:00
Sebastian Hahn
966553b8a4 Use https links where possible
I've gone through the entire repository, checking all http:// links to
see if the corresponding https urls would also work. This is especially
important when asking the user to run a script they fetched via curl,
because in the case of a mitm they will have no way at all to detect
that something malicious is going on.
2013-06-23 17:27:51 +02:00
Ryan Raub
455dc0a8cd Added the branch via bash variable to the git pull command when updating. 2013-04-24 15:41:25 -07:00
Josh Betz
461cce0235 Set endpath properly
Set endpath to the location it's being called from so we can
check if we're in a git directory or not
2013-04-02 09:19:43 -05:00
Josh Betz
7677bdaf86 Link to directory of bootstrap
If we're already in a git directory, we should link the files here.

Use case: I add spf13-vim as a submodule of my dotfiles.
2013-04-01 21:34:47 -05:00
Martin Grohmann
85b69632de symlink override
this fixes the Issue #260.
https://github.com/spf13/spf13-vim/issues/260

If a old symlink of .vimrc exists the new symlink is created by force.
2013-01-04 12:04:13 +01:00
Steve Francia
d1f5190f3e Merge pull request #232 from beyondwords/3.0
Ensure vim uses compatible shell in bootstrap
2013-01-01 15:05:56 -08:00
Eric Hansen
70694c373c Fixed echo printing out \n's 2012-12-05 20:23:41 -05:00
F. Gabriel Gosselin
6ae291bf41 Ensure vim uses compatible shell
If you're using fish or some other shell, this will keep the install from failing.
2012-11-24 13:26:21 -08:00
John Tyree
22798b6571 Don't read from stdin when bootstrapping.
I'm not sure why this was put in, but it's unnecessary and actually broke the
install process in my case.
2012-11-23 04:14:44 +01:00
Steve Francia
65270a9177 Merge pull request #157 from taxilian/link_fork_files
Add symlinks to .fork files in installer.. enabling fork maintainers to retain the installer
2012-10-12 08:48:36 -07:00
Kevin Waddle
52355abace Fix symlink check bug in dotfiles backup. 2012-10-06 16:18:47 -05:00
Richard Bateman
49525009d6 Add symlinks to .fork files in installer 2012-10-02 11:15:00 -06:00
Steve Francia
f29bc3ddf5 more bootstrap.sh fixes (should work better in more shells now) 2012-09-27 18:17:31 -04:00
Steve Francia
8b2c08c71e fixing some of the bootstrap issues 2012-09-27 18:06:24 -04:00
Steve Francia
2a0cd044f9 making the installer also serve as updater & do so gracefully 2012-09-27 14:00:35 -04:00
Steve Francia
fb2cab3e0a Fix bootstrap.sh so that it doesn't backup symlinks (and consequently can be run often to upgrade) 2012-09-22 23:19:11 -04:00
jhnwsk
674398891c reverted bootstrap to use 3.0 branch of spf13 2012-09-19 15:44:13 +02:00
jhnwsk
2c78aeadf3 moved bundles to .vimrc.bundles 2012-09-19 15:34:47 +02:00
jhnwsk
aeb316230f vim input error hack 2012-09-18 13:43:56 +02:00
jhnwsk
e91a1555c1 hack fixing the input error in vim 2012-09-18 13:33:05 +02:00
Akira Maeda
bdd38040dc after bundle install, close all buffers. 2012-08-29 14:44:35 +09:00
Mike Swift
04083294cf Point bootstrap.sh to the correct interpreter. 2012-04-29 00:19:07 -04:00
Aamir Khan
c9b1e37693 git clone using http:// rather than git://, for people behind firewall 2012-03-15 23:53:41 +05:30
Steve Francia
e9521c1d25 Removing command-T compilation from the boostrap.sh install script 2012-02-14 15:18:05 -05:00
Baptiste Pizzighini
43eb211f88 Fix directory typo when trying to build Command-R 2011-12-11 01:41:26 -05:00
Steve Francia
f6fbdcabb6 using $HOME for vundle install 2011-11-20 00:45:36 -05:00