Commit Graph

207 Commits

Author SHA1 Message Date
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