Bruno Pinto
fcc15fc16b
allow debugging messages to be echoed inside a test
2015-01-17 18:07:49 -02:00
Bruno Pinto
5c81cfbffd
more tests for the fish-spec suite
2015-01-17 13:47:50 -02:00
Bruno Pinto
5e2f42c3b4
Closes #322 : rename to-(not-)contain to to-(not-)contain-all
2015-01-17 13:32:19 -02:00
Bruno Pinto
9a7292ac9d
fail tests when using an invalid comparison
2015-01-17 13:32:19 -02:00
Bruno Pinto
4b8b4b91bf
improves text of tests
2015-01-17 13:02:28 -02:00
Bruno Pinto
a90680fd24
enabling spec.spec.fish suite
2015-01-17 03:03:40 -02:00
Jorge Bucaran
3021402525
⌁ Update Fish-Spec ⌁
...
+ Add fish eval fix See #fish-shell/pull/1892
+ New and improved output system with colors, etc.
+ Support for multiple non-nested describe blocks.
+ Remove spec.log and favor `msg` plugin and standard echo.
+ `spec.eval` no longer evaluates multiple functions, acting now as a simplified
router between the view `spec.view` and the controller `spec.run`.
+ Add new `spec.view` to act as a hub for all test output.
+ Add report with passed/failed tests to `spec.view`
+ Now test descriptions are used directly from the function name. Description
fields are now optional.
2015-01-17 13:46:44 +09:00
Tobias Johansson
60b17c9c70
peco_select_history can take initial query
2015-01-16 09:01:28 +01:00
Bruno Pinto
55b6a97b9e
expect --to-be-false tests
2015-01-14 22:56:49 -02:00
Bruno Pinto
cb3ce0317a
expect --to-be-true tests
2015-01-14 22:55:12 -02:00
Bruno Pinto
68b8546ce8
expect --to-not-contain tests and fix
2015-01-14 22:47:28 -02:00
Bruno Pinto
ee23d58951
expect --to-contain tests
2015-01-14 22:16:14 -02:00
Bruno Pinto
4b93c37959
expect --to-equal tests
2015-01-14 21:56:46 -02:00
Bruno Pinto
04d61303a8
fix test assertion
2015-01-14 09:14:45 -02:00
Bruno Pinto
8bf09e807e
Fixes bak assertions
2015-01-14 09:11:46 -02:00
Bruno Pinto
f5654b0ed4
converting bak plugin tests to fish-spec
2015-01-14 00:00:28 -02:00
Bruno Pinto
081f3f5b25
allow --to-contain to receive an array, and check each item individually
2015-01-13 21:41:17 -02:00
Bruno Pinto
bce3fff175
--to-be-false and --to-be-true expectations
2015-01-13 21:22:29 -02:00
Jorge Bucaran
125f8d43c8
Subsequent tests should run if one test fails.
2015-01-13 19:16:48 -02:00
Jorge Bucaran
63fd25dacb
❯❯❯ Complete overhaul of brand new Oh-My-Fish test framework.
...
+ Add documentation and examples.
+ Add new functions to interact with the framework:
+ spec.eval - eval a function by name and echo its description field
+ spec.functions - prints functions currently in scope that match the key glob
+ spec.log - log a message / test result
+ spec.run - run suite of tests
+ Rename list.erase to erase.
2015-01-14 02:22:07 +09:00
Bruno Pinto
64ea3d8002
list.erase test
2015-01-10 15:37:19 -02:00
Bruno Pinto
e0bb27831d
naiive to_not_include implementation
2015-01-10 15:36:57 -02:00
Jorge Bucaran
235bcf783e
Rename array.delete.fish file to list.erase.fish
2015-01-10 15:16:09 -02:00
Jorge Bucaran
29d117e7ce
+ Rename array.delete
to list.erase
to better suit Fish terminology.
...
+ Extend to support any number of items and/or lists.
+ Add --from option.
2015-01-10 15:16:09 -02:00
Bruno Pinto
f34f114018
testing plugin load from custom folder
2015-01-10 15:09:09 -02:00
Bruno Pinto
75ba7639a9
+bucaran array.delete
2015-01-10 12:19:38 -02:00
Bruno Pinto
7c9d660f2c
tests using fish-spec
2015-01-10 04:12:03 -02:00
Bruno Pinto
6363714647
removing obsolete plugin sprunge
2015-01-09 21:15:45 -02:00
Jorge Bucaran
c76ce97d03
Add ability to escape -s and -n options using a backslash.
...
Add notes in comments about escaping.
2015-01-09 14:10:02 +09:00
Jorge Bucaran
2542929eb9
Separate msg utility functions into their own file:
...
+ msg.util.get.color.fish
+ msg.util.random.color.fish
+ msg.util.set.color.fish
+ msg.util.str.get.fish
+ msg.util.str.has.fish
2015-01-09 14:08:47 +09:00
Jorge Bucaran
8e02073145
Add msg plugin. The technicolor message printer.
...
+ Print messages with style and color easily. Supported styles below:
_text_ Bold
__text__ Underline
___text___ Bold and Underline
`$variable` Apply @<styles> to $variables
/directory/ Directories
[url] Links
\n Line Break
\t Tab Space
+ Recognizes 256 different color names and special @random @light @dark @error and @success labels.
+ Included also is `msg.ask` to print a message with `msg` and wait for y/n input. Returns true on y\*.
2015-01-08 04:46:29 +09:00
Charles B Johnson
3ba9a50bee
Fix issue where some rbenv commands would fail (shell, rehash).
...
Use rbenv fish integration, if available.
Fix rbenv "supports fish" logic.
2014-12-30 12:01:40 -08:00
Daniel Mijares
228b9c5e34
removing -e
tests when cheking for -f
or -d
...
adding local variable flag and setting the variable if java home isn't
taken care of in the first if check.
For some reason there were different tab widths for this bottom
section, unifying to what the top was at -- 2 spaces.
2014-12-30 16:38:29 -02:00
Daniel Mijares
efa2746e45
silly mistake, forgot this is a soft link and needed to follow the link
2014-12-30 16:38:29 -02:00
Daniel Mijares
e0ae3a7db4
plugin was lacking setting {}_HOME variables for all gvm installed
...
binaries, this fixes that.
This also sets JAVA_HOME (only tested on OSX).
2014-12-30 16:38:28 -02:00
Daniel Mijares
0bac44ceda
cask plugin to add cask to $PATH
2014-12-30 16:38:28 -02:00
Bruno Pinto
30327ff522
brew plugin was not calculating the number of paths to ignore correctly
2014-12-29 14:45:21 -02:00
Bruno Pinto
494855b8a5
sending deprecation message to stderr
2014-12-23 16:42:00 -02:00
Wild Kat
1a18186cca
changed code indent to 2 spaces for consistency
2014-12-23 15:55:47 -02:00
Wild Kat
bafb64147c
Eliminate superficial whitespaces in ssh plugin
2014-12-23 15:55:47 -02:00
Wild Kat
c761f9442c
Added documentation link for ssh helper plugin and further cleanup
2014-12-23 15:55:47 -02:00
JP Viljoen
ad63831b8f
[ssh plugin] 256-colour helper stuff
2014-12-23 15:55:47 -02:00
Jichao Ouyang
c7d55526ec
add capability to bash export
2014-12-23 15:46:17 -02:00
Jan Lindblom
0cbd3480a8
Allow plan plugin to read from $PLENV_ROOT (useful with Homebrew on Mac).
2014-12-17 13:51:57 +01:00
Bruno Pinto
b861a5cee1
deprecating _append_path and create _prepend_path
2014-11-29 17:15:30 +11:00
Justin Hileman
d6d10825ae
Remove common .home suffix from local-config hostname.
2014-11-28 11:28:23 -05:00
Bruno Pinto
5f230e331d
checking for --inherit-variable support is too slow
2014-11-28 20:17:28 +11:00
Natrim
d3daa585aa
Composer plugin
...
- add function "composer"
- uses local composer if available
- add function "composer_install" to install composer to current dir
2014-11-28 19:45:55 +11:00
Roman Inflianskas
2d363c740d
[dpaste] Make dpaste a replacement for sprunge
2014-11-28 19:44:11 +11:00
Roman Inflianskas
bb1d149e2c
[dpaste] Add time options: 1, onetime, 2, twotimes
2014-11-28 19:44:11 +11:00
Roman Inflianskas
36aa069f7b
[dpaste] Add system tests
2014-11-28 19:44:11 +11:00
Roman Inflianskas
e957365d75
[dpaste] Another try to fix tests running on OS X
2014-11-28 19:44:11 +11:00
Roman Inflianskas
b256aac2e1
[dpaste] Allow test run with any working directory
2014-11-28 19:44:11 +11:00
Roman Inflianskas
b1b7b0a0ee
[dpaste] Using sed -E everywhere
2014-11-28 19:44:11 +11:00
Roman Inflianskas
e5b7c01934
[dpaste] Fix hour, week, month expired snippets
2014-11-28 19:44:11 +11:00
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