We have have this neat little script at work that let's us use the internet over proxy from the linux enviroment. For example
withproxy git clone https://github.com/VundleVim/Vundle.vim.git
works just fine and doesn't even prompt me for my username and password.
How do I set this up within the .vimrc
for Vundle so that all the git things are prefixed by this proxy script?
How do I set this up within the
.vimrc
for Vundle so that all the git things are prefixed by this proxy script?
You don't. What you do instead is make git
go through the proxy:
git config --global http.proxy http://username:[email protected]:8080
You can also set the environment variable http_proxy
to the same thing:
export http_proxy='http://username:[email protected]:8080'
You might also need a https_proxy
if you do it this way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With