Commit Graph

674 Commits

Author SHA1 Message Date
Bruno Pinto
b2003fccbb Merge pull request #168 from jhillyerd/proxy 2014-06-11 16:31:59 -03:00
James Hillyerd
f5d3109d86 OS X head command does not support - argument for STDIN 2014-06-11 16:29:56 -03:00
James Hillyerd
4346f6b365 Removed NO_PROXY from README.md 2014-06-11 16:29:56 -03:00
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
James Hillyerd
4682480ea6 Initial commit of proxy plugin 2014-06-11 16:29:56 -03:00
Bruno Pinto
ec34dbdc9c deprecating vi-mode plugin 2014-06-11 13:09:13 -03:00
Bruno Pinto
d24bc6f074 deprecating rake plugin 2014-06-11 13:08:07 -03:00
Bruno Pinto
c32afc6918 Merge pull request #169 from rominf/bak 2014-06-11 13:01:00 -03:00
Roman Inflianskas
6c45d6bc2a bak plugin: add help on 0 arguments 2014-06-11 13:00:50 -03:00
Roman Inflianskas
33b5d64e7f bak plugin: bak renamed to mvbak, cpbak added 2014-06-11 13:00:50 -03:00
Roman Inflianskas
7258977424 add bak plugin 2014-06-11 13:00:50 -03:00
Bruno Pinto
b616d17759 Merge pull request #163 from JeanMertz/plugin-chruby 2014-06-10 23:06:03 -03:00
Jean Mertz
56d0cb8cb4 Add chruby plugin
Depends on `chruby-fish`: https://github.com/JeanMertz/chruby-fish

set `CHRUBY_AUTO_ENABLED` to `false` to disable auto loading Ruby versions on
directory change.

set `CHRUBY_ROOT` to point to the root path of chruby. The path will be
appended by `share/chruby/chruby.fish` and `share/chruby/auto.fish`.
2014-06-10 23:05:47 -03:00
Bruno
060c730386 Merge pull request #167 from syl20bnr/add-support-native-vi-mode-support
Add support for upcoming fish shell native vi mode
2014-06-10 22:59:05 -03:00
syl20bnr
2c6cde92b3 Add support for upcoming fish shell native vi mode 2014-06-04 23:28:57 -04:00
Bruno Pinto
07789b763a Merge pull request #162 from bobthecow/master 2014-05-14 17:48:20 -03:00
Justin Hileman
98ac1baaad Fix bold flags leaking into prompt 2014-05-14 17:48:06 -03:00
Justin Hileman
8b66273236 Namespace all the bobthefishes. 2014-05-14 17:48:06 -03:00
Bruno Pinto
3de8d837ec Merge pull request #161 from CADBOT/master 2014-05-14 17:06:58 -03:00
CADBOT
4c476a64b4 Add puma to bundled commands list 2014-05-14 17:06:32 -03:00
Bruno
376ae33831 Merge pull request #160 from bobthecow/master
Minor updates for bobthefish
2014-05-14 14:00:14 -03:00
Justin Hileman
563153e667 Add an explicit copyright notice for bobthefish. 2014-05-14 12:51:52 -04:00
Justin Hileman
11087ce22d Fix theme function descriptions. 2014-05-14 12:50:14 -04:00
Bruno
7015ed5ee4 Typo. 2014-05-10 11:31:03 -03:00
Bruno
2ab14365d7 Merge pull request #155 from CADBOT/master
Add a vundle plugin similiar to that found in oh-my-zsh
2014-05-09 12:34:39 -03:00
CADBOT
50396d581b Add a vundle plugin similiar to that found in oh-my-zsh 2014-05-09 05:43:47 +00:00
Bruno Pinto
2f585a1c2d Merge pull request #153 from amio/theme-edan 2014-05-05 17:50:51 -03:00
Amio
ada3fa7d2b Update screenshot 2014-05-05 17:49:49 -03:00
Amio
bec6dc5d3a Init theme edan 2014-05-05 17:49:49 -03:00
Bruno Pinto
2ad8fb98a0 Merge branch pull request #152 from bachue/robbyrussell_fish_prompt 2014-05-02 10:44:39 -03:00
Bachue Zhou
ab2de4699a In robbyrussell, when last status is 0, the prompt should be green, otherwise it should be red, just like oh-my-zsh 2014-05-02 10:44:23 -03:00
Bruno Pinto
0d9d0b783e Merge pull request #148 from steeeve/master 2014-05-01 12:21:41 -03:00
Steve Mckellar
e201f30b75 Add new theme toaster 2014-05-01 12:21:33 -03:00
Bruno Pinto
87268f8a7f Merge pull request #131 from Paulloz/plugint 2014-04-30 16:49:35 -03:00
Bruno Pinto
1255651348 Workaround for https://github.com/fish-shell/fish-shell/issues/1443 2014-04-30 16:46:53 -03:00
Paul Joannon
01a6736b24 change indentation from 4 to 2 spaces 2014-04-30 16:19:35 -03:00
Paul Joannon
4ef7561cf5 remove README.md frim sprunge plugin 2014-04-30 16:19:35 -03:00
Paul Joannon
b5b965f950 add sprunge plugin 2014-04-30 16:19:35 -03:00
Bruno Pinto
209e93e25e Merge pull request #136 from sbstnp/master 2014-04-30 16:16:51 -03:00
Bruno Pinto
782283dc66 mentioning mercurial on the documentation 2014-04-30 16:16:36 -03:00
S.P
68e4ac9dd0 Added agnoster-mercurial theme with support for mercurial 2014-04-30 16:15:56 -03:00
Bruno Pinto
ef379c32c3 Merge pull request #151 from vincentjames501/gvm_plugin 2014-04-30 15:20:22 -03:00
Vincent Pizzo
ef49f0663f Two spaces as requested 2014-04-30 15:20:15 -03:00
Vincent Pizzo
fdfdee2760 Adding gvm plugin 2014-04-30 15:20:14 -03:00
Bruno
0427854671 Merge pull request #149 from vincentjames501/master
Allowing arguments to be passed to _python
2014-04-30 15:14:51 -03:00
Vincent Pizzo
955c87710a Allowing arguments to be passed to _python
I'm brand new to fish so I'm not sure if this is a fix of if I'm doing something incorrectly.  On fish version 2.1.0 on osx 10.9.2 running pyhttp doesn't start the http server, instead only starts the python shell.  This fixes that issue for me at least.
2014-04-27 18:18:31 -05:00
Bruno Pinto
c4aaa9035d Merge pull request #146 from fissionxuiptz/patch-1 2014-04-24 16:50:58 -03:00
Fission Xuiptz
239beda7ea Fixed condition check on item existence in list
Previously, 'set $path...' ran regardless of the result of 'and not contains...'. This fixes _append_path to actually use the result of the condition check.
2014-04-24 16:50:37 -03:00
Bruno
8e6adf2541 Merge pull request #145 from chrisirhc/feature/fix-z-plugin
fix z path scope
2014-04-24 05:01:07 -03:00
Chris Chua
99dcf2861d fix z path scope 2014-04-22 12:28:21 -07:00