James Hillyerd d076e5e289 Update README, remove no_proxy
- README updated with more information about the proxy environment
  varialbes
- no_proxy/NO_PROXY removed from variables being set, it was being used
  incorrectly
diff --git a/plugins/proxy/README.md b/plugins/proxy/README.md index
819d032..3086618 100644 --- a/plugins/proxy/README.md +++
b/plugins/proxy/README.md @@ -2,7 +2,14 @@ proxy plugin ============

 The proxy plugin provides a couple helper functions to those of us who
 are -stuck behind HTTP/HTTPS/FTP proxies that require authentication.
 +stuck behind HTTP/HTTPS/FTP proxies that require authentication.  The
 variables +it exports are used by many command-line and GUI
 applications on Linux, as well +as [MacPorts][1] and [Homebrew][2] on
 OS X.  + +Both uppercase and lowercase versions of the proxy
 environment variables are +set, some applications are case sensitive.
 If you'd like to learn more about +the use of these variables, this
 [Arch Wiki Article][3] is a good place to +start.

 ## Usage

@@ -28,7 +35,6 @@ The proxy plugin will prepend `http://` for you.
Here's the result: ftp_proxy http://myproxy.example.com:8000 http_proxy
http://myproxy.example.com:8000 https_proxy
http://myproxy.example.com:8000
-    no_proxy http://myproxy.example.com:8000

 ### With authentication

@@ -43,3 +49,7 @@ for a password and setup your environment.  If you
didn't setup a proxy_user variable, you will be prompted for a username.

 If you wish to clear your proxy variables, run `noproxy`.  + +[1]:
 http://www.macports.org/ +[2]: http://brew.sh/ +[3]:
 https://wiki.archlinux.org/index.php/proxy_settings
diff --git a/plugins/proxy/_proxy_set.fish b/plugins/proxy/_proxy_set.fish
index b692bf0..e55d29e 100644
--- a/plugins/proxy/_proxy_set.fish
+++ b/plugins/proxy/_proxy_set.fish
@@ -1,8 +1,10 @@
 function _proxy_set -a proxy \
   -d "Set all proxy vars to specified value"

-  set -l envars http_proxy ftp_proxy https_proxy all_proxy no_proxy \
-    HTTP_PROXY HTTPS_PROXY FTP_PROXY NO_PROXY ALL_PROXY
+  set -l envars http_proxy HTTP_PROXY \
+    https_proxy HTTPS_PROXY \
+    ftp_proxy FTP_PROXY \
+    all_proxy ALL_PROXY
   for envar in $envars
     if test $proxy = '-e'
       set -e $envar
2014-06-11 16:29:56 -03:00
..
2012-07-29 16:32:52 -03:00
2014-06-11 13:00:50 -03:00
2014-05-14 17:06:32 -03:00
2014-06-10 23:05:47 -03:00
2013-11-20 07:53:39 -02:00
2013-05-15 09:12:46 -03:00
2013-11-20 07:53:39 -02:00
2013-10-18 14:15:47 -03:00
2014-04-30 15:20:15 -03:00
2013-11-02 00:23:00 -02:00
2014-02-16 07:46:22 -03:00
2013-11-20 07:53:39 -02:00
2014-06-11 16:29:56 -03:00
2014-06-11 13:08:07 -03:00
2014-06-11 13:09:13 -03:00
2014-04-22 12:28:21 -07:00

Plugins

  • archlinux - The Arch Linux Plugins provides a number of plugins to make using arch easier.
  • autojump - makes navigating filesystem much faster. see autojump article and video. bindings only, autojump needs to be installed separately.
  • brew Homebrew integration
  • bundler use Ruby's Bundler automatically for some commands
  • django - helper for Django Unit tests. Cleans the cached modules as well.
  • ec2 - exports env variables for Amazon's EC2 management
  • emoji-clock - The current time with half hour accuracy as an emoji symbol
  • extract - Plugin to expand or extract bundled & compressed files
  • fry - starts fry Simple ruby version manager for fish
  • gi - gitignore.io cli for fish
  • jump - A port of Jeroen Janssens' "jump" utility
  • localhost - Opens http://localhost:3000 (and other ports) in the default browser
  • ndenv - helpers for another node.js version manager
  • node - adds locally installed NodeJS npm binary executable modules to the path
  • percol - browse your fish history with percol
  • php - manage phphttp server
  • plenv - plenv perl binary manager integration
  • pyenv - Simple Python Version Management integration
  • python - set of shortcuts to python based utilities (pybeatifyjson - clean JSON files, pyclean - remove old .pyc, pyhttp & pysmtp - simple HTTP & SMTP servers)
  • rails - alias for executing database migrations
  • rake - completions for rake tasks
  • rbenv - Ruby environment/version manager rbenv
  • rvm - rvm ruby version manager
  • sublime - creates 'subl' command line shortcut to launch Sublime Text editor
  • tmux - Plugin to start tmux with support for 256 colours
  • vi-mode - Basic vi key bindings emulation for fish
  • z - integration with z (autojump alternative)