Commit Graph

321 Commits

Author SHA1 Message Date
Roman Inflianskas
668849a9c3 [dpaste] Fix tests 2014-11-28 19:44:11 +11:00
Roman Inflianskas
4cb6539197 [dpaste] Add tests 2014-11-28 19:44:11 +11:00
Roman Inflianskas
32c1a02690 [dpaste] Add compatibility with non GNU *nix 2014-11-28 19:44:11 +11:00
Roman Inflianskas
b3d40bb35d [dpaste] Add --help alias for help 2014-11-28 19:44:11 +11:00
Roman Inflianskas
feff0bb89d [dpaste] Fixed file pasting with option -t 2014-11-28 19:44:10 +11:00
Roman Inflianskas
4aedc2917f [dpaste] Underscoring all private variables and functions 2014-11-28 19:44:10 +11:00
Roman Inflianskas
9ce45f5f38 [dpaste] Add "expires" option 2014-11-28 19:44:10 +11:00
Roman Inflianskas
a58c498362 [dpaste] Add dpaste plugin 2014-11-28 19:44:10 +11:00
Bruno Pinto
02529d7aca correctly adding sorted brew paths 2014-11-28 19:40:37 +11:00
Roman Inflianskas
81c912731d [bak] Fix tests 2014-11-25 23:59:13 +03:00
Bruno Pinto
c46b7d4308 removing old commented out code 2014-11-22 19:32:11 +11:00
CodeFalling
83cef134f2 move git-flow completions to completions folder 2014-11-21 08:55:13 +11:00
CodeFalling
dbd2637f6e new plugin:git-flow 2014-11-21 08:55:13 +11:00
Justin Hileman
fa022cc8cd Add local-config plugin.
Support per-user, per-host, and per-platform custom configuration files.
2014-11-15 22:16:01 -08:00
Bruno Pinto
28b9612acf replace plugin 2014-11-07 16:47:50 -02:00
CodeFalling
691a9a2bc9 new plugin:better alias 2014-11-03 10:42:40 +08:00
Bruno Pinto
fdf3793b60 removing deprecated rake plugin 2014-11-02 11:40:43 -02:00
Bruno Pinto
4b3087d388 adding deprecation warning to autojump plugin 2014-11-02 11:40:11 -02:00
Jean Mertz
e83c710ffe Rewrite bundle exec wrapper to be more robust 2014-11-01 18:23:02 +01:00
Michele Gerarduzzi
bdf8c26770 Improve syntax and uniform style for plugins’ README 2014-10-29 02:12:03 +01:00
Michele Gerarduzzi
d7d1ef5831 Add support for ST and ST3 installations inside ~/Applications on OS X 2014-10-29 00:05:38 +01:00
iven
51a86eaa1a Add gem plugin 2014-10-24 13:01:12 -02:00
iven
5e876ee56b Add android_sdk plugin 2014-10-24 08:55:20 -02:00
iven
8773b12c2d Add ccache plugin 2014-10-24 08:53:49 -02:00
iven
0fc0b2d09e Add xdg plugin 2014-10-24 08:50:47 -02:00
Jean Mertz
97ac414448 Allow to pass any arguments to z
before:

```
$ z --help
12         /Users/Jean/Dropbox
12         /Users/Jean/work

$ z work
/Users/Jean/work
```

after:

```
z --help
z [-chlrtx] args

$ z work
/Users/Jean/work
```
2014-10-20 15:51:13 +02:00
Roman Inflianskas
acf3206297 bak plugin: fixed directories handling 2014-10-16 22:08:06 -03:00
Roman Inflianskas
07860bc556 bak plugin: tabs -> spaces 2014-10-16 22:08:06 -03:00
Roman Inflianskas
5b861f5c93 bak plugin: tests added 2014-10-16 22:08:06 -03:00
Roman Inflianskas
c2c69a91e7 bak plugin: unbak -> unmvbak, uncpbak added 2014-10-16 22:08:05 -03:00
Roman Inflianskas
d9aece92c8 bak plugin: add unbak function (inverse to mvbak) 2014-10-16 22:08:05 -03:00
Charles B Johnson
8dcd3e8027 Add plugin for using nodenv. 2014-10-16 22:02:48 -03:00
Celso Miranda
e2d8e7a04d add sublime text 3 support for linux
now it works with sublime 3 on arch linux
2014-10-16 22:00:22 -03:00
Nils Stål
812952d1b9 Use https in gi plugin. Issue #216 2014-10-16 21:33:47 -03:00
Peter Armstrong
ecf1af6228 rvm plugin fix #217 - removed extra | 2014-09-22 09:45:55 +01:00
Peter Armstrong
eca1617841 rvm plugin fix #217 2014-09-22 09:34:16 +01:00
Brian
723f6df96d removed 'bu' and 'bi' from bunder plugin 2014-08-14 17:56:52 -03:00
jeremiejig
f94dc43999 typo 2014-08-10 16:51:35 -03:00
jeremiejig
261c3a1503 adding ref to mc in README 2014-08-10 16:51:34 -03:00
jeremiejig
48d0a05042 plugin mc, wrapper to use a shell compatible with mc 2014-08-10 16:51:34 -03:00
Roman Inflianskas
1335503cd6 bak: fixed directory handling 2014-08-09 21:47:59 +04:00
Alexander Grigoriev
7169901224 marks output columnized 2014-08-01 12:56:06 -03:00
Alex Farrell
06086ca17a Add peco plugin 2014-07-29 10:38:02 +02:00
James Hillyerd
a42e564fa2 Add README.md for gi 2014-07-20 00:40:45 -03:00
James Hillyerd
5829ff0f5a Redesign gitignore plugin
- removed code that fetches completions frim gitignore.io each time fish
  is started -- makes logins slow!
- gi.load becomes gi.fish, only contains gi function
- add _update_gi_completions.fish: fetches list of completions from
  gitignore.io and places it into ~/.config/fish/completions
- modify gi function to accept update-completions argument
2014-07-20 00:40:45 -03:00
Bruno Pinto
1e7e712f87 fix #175: add /usr/local/sbin to PATH for brew 2014-07-16 00:36:31 -03:00
Bruno Pinto
ef0f1f8c40 adds dashing to bundled commands 2014-07-09 18:14:41 -03:00
Jake Schmitz
7c1d37eafd removed deprecation warning, vi-mode in fish not yet implemented 2014-07-06 13:52:23 -07:00
James Hillyerd
22d6ab84f0 Don't auto-set proxy variables if proxy_host unset
- The proxy plugin would create broken environment variables if it was
  enabled but proxy_host was not defined.
2014-06-15 15:03:59 -07: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
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
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
CADBOT
4c476a64b4 Add puma to bundled commands list 2014-05-14 17:06:32 -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
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
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
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
Chris Chua
99dcf2861d fix z path scope 2014-04-22 12:28:21 -07:00
Marek Skrobacki
d387e69966 add README file with list of plugins and their short descriptions 2014-04-15 13:46:36 +01:00
Steven Knight
eef0fb484f Corrected logic when testing if exists. 2014-02-28 19:29:39 -05:00
Steven Knight
1771eec8e3 Removed unnecessary sudo 2014-02-28 19:29:39 -05:00
Steven Knight
d54c53e641 Fixed Indentation problem 2014-02-28 19:29:39 -05:00
Steven Knight
0622fe860f Ported function to zsh 2014-02-28 19:29:39 -05:00
Steven Knight
1df49b6fcd Ported function to zsh 2014-02-28 19:29:39 -05:00
Steven Knight
9e53decf64 Added description 2014-02-28 19:29:39 -05:00
Steven Knight
217bde5994 Ported function to zsh 2014-02-28 19:29:39 -05:00
Steven Knight
8be94d3471 Fixed typo 2014-02-28 19:29:39 -05:00
Steven Knight
5b3f40433e Removed command; it's not necessary. 2014-02-28 19:29:39 -05:00
Steven Knight
572b75dfd9 Fixed incorrect plugin name 2014-02-28 19:29:39 -05:00
Steven Knight
1480c2bfa5 Ported pacman aliases from oh-my-zsh's archlinux plugin.
Added support for having multiple sub-plugins within the archlinux family.
2014-02-28 19:29:39 -05:00
Dylan Garrett
a8d5fad488 Silence curl and fix www.gitignore.io API url, which now requires www. 2014-02-28 00:08:44 -05:00
Dylan Garrett
3a6b0f2e8d Use ping's timeout param for OSX compat 2014-02-28 00:07:08 -05:00
Jan Lindblom
f66fa8eae6 ndenv plugin for fish. 2014-02-16 07:46:22 -03:00
Francis Lavoie
2dc27421b2 remove python /usr/local/share, inst require anymore by brew 2014-02-16 07:36:57 -03:00
Bruno Pinto
580970644c Fixes #119: rbenv has not released a final version with support to fish yet, so for now, we are cloning the expected end-result 2014-02-16 07:34:05 -03:00
Bodo Tasche
37251b3201 added command line completion to jump plugin 2014-01-20 21:08:37 +01:00
Kris Leech
7436fc848a Plugin to start tmux with support for 256 colours 2014-01-13 19:26:31 +00:00
syl20bnr
701600c678 Add vi-mode from Ian Munsie 2014-01-10 03:56:35 -02:00
Charles Thorley
d6024ce6e4 Two-space indentation 2014-01-09 21:14:19 -08:00
Charles Thorley
2bf2e10d24 Additional gatekeeping 2014-01-09 21:14:18 -08:00
Charles Thorley
f26686a9fc Bug fixes 2014-01-09 21:14:18 -08:00
Charles Thorley
ef890addac Merge remote-tracking branch 'upstream/master'
Merging in preparation of a rebase, per maintainer's request.
2014-01-09 21:12:44 -08:00
Joshua Warner
6986fb1c2d Implement subl for Linux (assuming a standard .deb install of v3) 2014-01-07 14:18:24 -02:00
Joshua Warner
373195efd6 Detect / Launch both Sublime Text 2 and 3 2014-01-07 14:18:24 -02:00
Bruno Pinto
04011838ff Closes #95: defining local variable and fixing args check 2014-01-07 13:54:56 -02:00
Bruno Pinto
ef24766b0e Closes #81: default to python2 and fallback to python 2014-01-06 18:57:32 -02:00
Mark Derricutt
2038421b99 Updated Sublime Plugin to support version 3
Sublime Version 3 drops the version number from the application path,
so if you enable this, and use 3 - the existing plugin would
silently fail.
2013-12-13 11:16:14 +13:00
Charles Thorley
89655b2edf Actually, let's stick to builtins 2013-12-10 18:29:42 -08:00
Charles Thorley
d157cd13cc Removed realpath dependency 2013-12-10 18:22:28 -08:00
Charles Thorley
3b56be3e26 Added jump plugin 2013-12-10 17:55:51 -08:00
Bruno Pinto
62928f9aa5 allowing z plugin to use a custom path 2013-11-20 08:20:34 -02:00
Bruno Pinto
18a33690fe using _append_path function on plugins 2013-11-20 07:53:57 -02:00
Bruno Pinto
00236e5af3 tidying 2013-11-20 07:53:39 -02:00
Kris Leech
ac6610df4e Plugin to expand or extract bundled & compressed files [finishes #90] 2013-11-20 06:14:37 -02:00
Konrad Borowski
b42782e05e Fix set $PATH mistake. 2013-11-11 18:53:15 +01:00
Daniele Sluijters
1564756748 pyenv: Detect $PYENV_ROOT and act accordingly.
This also fixes issues for Homebrew users if the followed the caveat to
set PYENV_ROOT to use the homebrew created directories.
2013-11-05 23:09:44 -02:00
Daniele Sluijters
aa096727ad rbenv: Detect $RBENV_ROOT and act accordingly.
Same fix as with pyenv, if RBENV_ROOT is set, use that.

This also fixes issues for Homebrew users if they followed the caveat to
set RBENV_ROOT to use the homebrew created directories.
2013-11-03 18:18:10 +01:00
Nicolas Leclercq
b57f62e2fc add plugin to load pyenv 2013-11-02 00:26:30 -02:00
Konrad Borowski
341da0113d Update localhost.load 2013-11-02 00:23:00 -02:00
Konrad Borowski
222757edaa Add port 8001 for SHOUTcast. 2013-11-02 00:23:00 -02:00
Konrad Borowski
9b0369a6cf PHP HTTP server 2013-10-31 20:28:06 +01:00
Lin Jen-Shin
e09ce1304f Show rake task descriptions along with the tasks. 2013-10-31 00:53:48 +08:00
Nicolas Leclercq
b8a624b453 add plugin to load plenv 2013-10-30 11:45:05 +01:00
Bruno Pinto
e38b220e1e Revert "fish has renamed . to source"
As @GlitchMr commented, fish 2.1 has not been released yet and even
then, the command . will only be deprecated, not removed.

This reverts commit 03833fda7b.
2013-10-18 14:15:47 -03:00
Bruno Pinto
03833fda7b fish has renamed . to source 2013-10-18 10:17:58 -03:00
Jonathan Knapp
13582d8d2b test that application exists before trying to call it 2013-08-08 11:46:15 -06:00
Jonathan Knapp
1321ddc844 Added sublime text plugin that passes additional arguments to the app 2013-08-08 11:39:04 -06:00
Erik Kallen
8551cacf50 Added cor theme and emoji clock plugin 2013-06-23 13:15:08 +02:00
ilkosta
ab3671906f enabled gi autocomplete and parameters separated by spaces 2013-06-18 21:03:58 +02:00
costa
d118eba311 managed multi-user install location for rvm.fish 2013-05-25 12:11:13 +02:00
Bruno Pinto
f2be6ff368 removing percol.load file that is no longer necessary 2013-05-24 09:38:21 -03:00
Osamu OKANO
00a2cef9c6 split percol.load into README and percol_select_history.fish 2013-05-24 21:29:10 +09:00
Osamu OKANO
f4255727e0 percol plugin 2013-05-24 21:29:10 +09:00
Francis Lavoie
2a7ff8c255 simplified pyclean command 2013-05-22 12:17:01 -04:00
Francis Lavoie
1cf57f83f9 removed empty django.load file 2013-05-22 12:07:38 -04:00
Francis Lavoie
089034b6c6 moved django into plugins, moved djtest into its own file 2013-05-22 12:07:36 -04:00
Francis Lavoie
db0eda65bc replaced 4 spaces tabs for 2 spaces tab 2013-05-22 12:07:36 -04:00
Francis Lavoie
02a8a66424 split command in different files 2013-05-22 12:07:36 -04:00
Francis Lavoie
d40fe8284c added basic python helper (http server, smtp server, py[co] cleaner and a django helper for the test runner 2013-05-22 12:07:36 -04:00
Matthew Crenshaw
6fa69bee2a check for ruby-version or ruby-gemset, rvmrc is depreciated 2013-05-21 13:59:56 -04:00
Zhuang Ya
ded3ad70f8 reformat the indentation 2013-05-18 01:39:46 +08:00
Zhuang Ya
3288478117 gitignore.io cli function for fish ;) 2013-05-18 01:32:27 +08:00
Bruno Pinto
192e4e4a4d ec2 api plugin 2013-05-15 09:12:46 -03:00
Bruno Pinto
b7ee9ec0b9 fry plugin 2013-03-23 01:24:34 -03:00
Bruno Pinto
71d79d8111 adding sidekiq to bundled commands list 2013-03-19 17:37:08 -03:00
Kris Leech
94b54094dd Allow http://localhost:$port to be opened in the default browser using either the port number for common ports or lh for an arbitrary port. 2013-03-12 18:52:26 +00:00
Kris Leech
388e15f6c5 localhost plugin which opens http://localhost:3000 (and other ports) in the default browser 2013-03-12 18:52:25 +00:00
Bruno Pinto
7bf108b81c simpler support for local npm packages 2013-03-10 15:08:58 -03:00
Bruno Pinto
9caa7af7b8 support for local npm packages when loading shell 2013-03-10 14:24:59 -03:00
Bruno Pinto
fadb1fe446 ooops... forgot to remove this line :) 2013-03-10 03:13:41 -03:00
Bruno Pinto
d59bd05463 adding support for local npm packages 2013-03-10 03:08:11 -03:00
Bruno Pinto
4cdc45cc56 rails function migrate that will also migrate the test database 2013-03-05 23:13:44 -03:00
Bruno Pinto
53d1c4fa15 Closes #17: removing rbenv rehash from plugin load 2013-03-05 16:43:16 -03:00
Bruno Pinto
39e5f6004d checking plugins paths before adding them to PATH 2013-03-04 00:21:47 -03:00
Bruno Pinto
5cde405bb7 setup z based on PWD variable 2013-03-02 03:49:12 -03:00
Bruno Pinto
b99bee0a7a configuring rvm on shell load 2013-03-02 03:49:12 -03:00
Bruno Pinto
14d0391e70 setup rvm based on PWD variable 2013-03-02 03:22:25 -03:00
Bruno Pinto
f026e18384 Updating rvm scripts from rubycut/fish-inwater. 2013-03-02 02:52:23 -03:00
Bruno Pinto
6f9d3e10cc including python scripts path on PATH 2013-01-14 21:37:23 -02:00
Bruno Pinto
a735b305bd node plugin: prepending node path 2013-01-07 10:36:46 -02:00
Bruno Pinto
c06b1c0d9a bundler plugin was not working if the project didn't have bundler 2012-11-03 11:28:33 -02:00
Bruno Pinto
129e13dbc1 initial support for z: "https://github.com/rupa/z" 2012-10-17 02:42:29 -03:00
Bruno Pinto
05b4207a66 automatically loaded files should not have the suffix '.fish' otherwise fish thinks they are functions 2012-08-15 23:40:07 -03:00
Bruno Pinto
edff7dea0a Fixing PATH when using brew plugin 2012-08-15 23:40:03 -03:00
Bruno Pinto
0f17a02487 Removing final empty space from bundled commands 2012-08-13 21:14:01 -03:00
Bruno Pinto
4996bb18bc Closes #3: Remove dependency of git plugin from robbyrussell theme 2012-08-09 20:40:09 -03:00
Bruno Pinto
64cd07aec0 rake completion with available tasks 2012-08-09 20:30:50 -03:00
Bruno Pinto
a44ea808e3 rake autocompletion 2012-08-05 15:29:41 -03:00
Bruno Pinto
da45f2fc3c fixing bundler plugin which was creating a file named '-' 2012-08-03 20:01:41 -03:00
Bruno Pinto
e66ce57dd2 Closes #6: Bundler support added 2012-07-29 17:31:04 -03:00
Bruno Pinto
6bcc6dafe1 two spaces for indentation 2012-07-29 16:32:52 -03:00
Bruno Pinto
42fc751de3 Closes #1 setting rbenv path when plugin is defined 2012-07-29 01:25:35 -03:00
Bruno Pinto
a0331634cb Revert "rbenv completion #1" as it's builtin on fish now (pull request)
This reverts commit ccd8e1a6df.
2012-07-28 23:34:45 -03:00
Bruno Pinto
ccd8e1a6df rbenv completion #1 2012-07-28 00:25:40 -03:00
Bruno Pinto
8908ec4a09 moving rvm specific cd function from an external plugin to rvm plugin 2012-07-25 23:22:57 -03:00
Bruno Pinto
9034c9de51 Fixing 'cd' function to use fish's 'cd' function and not the builtin command 2012-07-24 23:48:52 -03:00
Bruno Pinto
e5f83aea57 CD plugin for handling rvm enabled folders 2012-07-23 22:32:16 -03:00
Bruno Pinto
0b4755ea01 RVM plugin 2012-07-23 22:31:43 -03:00
Bruno Pinto
fc428a8e17 autojump plugin =P 2012-07-23 20:54:59 -03:00
Bruno Pinto
cf9fe88c87 moving git function to plugins folder 2012-07-23 20:33:18 -03:00