Commit Graph

640 Commits

Author SHA1 Message Date
Bruno
ed87414b51 Merge pull request #306 from bpinto/run_plugins_tests_on_travis
run all tests, including plugins tests, on travis
2015-01-13 15:44:33 -02:00
Bruno Pinto
4d1e85fbe0 run all tests, including plugins tests, on travis 2015-01-13 15:41:16 -02:00
Bruno
4fba87434c Merge pull request #304 from bpinto/travis-badge
Adding travis badge
2015-01-13 15:31:19 -02:00
Jorge Bucaran
09e6da27e2 Fix boostrap/script to oh-my-fish.spec.fish 2015-01-13 15:29:39 -02:00
Bruno Pinto
a32cd3fdd9 README cosmetics 2015-01-13 15:29:39 -02:00
Bruno Pinto
beda636406 travis badge 2015-01-13 15:29:39 -02:00
Bruno Pinto
e7afb310a4 removing bucaran fork 2015-01-13 15:29:39 -02:00
Bruno
51a4e4decf Merge pull request #303 from bucaran/fish-spec
❯❯❯ Complete overhaul of brand new Oh-My-Fish `fish-spec` test framework.
2015-01-13 15:25:40 -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
1f9a51c3f6 Merge pull request #302 from bucaran/travis
Add travis support via .travis.yml and bash bootstrap script.
2015-01-13 13:35:04 -02:00
Jorge Bucaran
0aa8af477a Add travis support via .travis.yml and bash bootstrap script 2015-01-13 21:02:00 +09:00
Bruno Pinto
bb467f75ac remove double slash 2015-01-12 16:36:29 -02:00
Bruno
143cc10c42 Merge pull request #300 from bucaran/improve-install
Improve install.fish
2015-01-12 16:34:00 -02:00
Jorge Bucaran
05f3ecdfec Add support for:
+ Non-interactive terminals, e.g., skip launching fish when
    running tests automated, etc.
  + Non-git-based installations. If git is not found, download
    via curl HTTP GET download request.
  + Installing forks of the framework.
Also:
  + Improve documentation.
  + Fix bug in un escaped backslash causing incorrect syntax
    coloring after the ASCII fish logo.
2015-01-13 03:26:37 +09:00
Bruno Pinto
626deaf135 Merge pull request #294 from lvicentesanchez/master 2015-01-10 18:23:22 -02:00
Luis Angel Vicente Sanchez
49821054db Update README.md 2015-01-10 18:23:18 -02:00
Luis Angel Vicente Sanchez
060110d859 * add README.md 2015-01-10 18:23:17 -02:00
Luis Angel Vicente Sanchez
15eef514ca * fix git prompt. 2015-01-10 18:23:17 -02:00
Luis Angel Vicente Sanchez
edbea29aae * add fox theme. 2015-01-10 18:23:17 -02:00
Bruno Pinto
fed8c86313 Merge pull request #298 from bucaran/master 2015-01-10 15:38:01 -02: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
Bruno Pinto
8d7ccec672 using --from syntax 2015-01-10 15:18:28 -02:00
Jorge Bucaran
235bcf783e Rename array.delete.fish file to list.erase.fish 2015-01-10 15:16:09 -02:00
Jorge Bucaran
7368c174e7 Update oh-my-fish.fish tests for new list.erase function. 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
13051d0168 oh-my-fish.fish tests 2015-01-09 22:10:01 -02:00
Bruno Pinto
6363714647 removing obsolete plugin sprunge 2015-01-09 21:15:45 -02:00
Bruno
30c683e6f9 Merge pull request #292 from bucaran/plugin-msg
Add msg plugin. The technicolor message printer.
2015-01-09 13:03:04 -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
Bruno
d88084719a Merge pull request #291 from bucaran/feat-import
[feat-import] + import command, ⁑ bad wildcard expansion bugfix in _prepend_tree.
2015-01-07 16:28:57 -02:00
Jorge Bucaran
16888838b0 Fix import not getting passed the correct passed in oh-my-fish.fish.
To import plugins or load themes:

 + import plugins/<plugin>
 + import plugins/{dpaste,cask} themes/bobthefish

Note: Plugins/Themes can be in either `custom/plugins`, `custom/themes` or `$fish_path/plugins/`, `$fish_path/themes/`.
2015-01-08 03:04:54 +09:00
Jorge Bucaran
1c795f0e78 Correct documentation/comments in import. 2015-01-08 02:28:08 +09:00
Jorge Bucaran
5eb156f995 Fix bugs in new import command as discussed in oh-my-fish/pull/291
+ All `.load` files inside custom are sourced as usual.

+ Only set plugins set in `$fish_plugins` as imported. Works whether they are in `$fish_path` or `$fish_custom` as expected. The same for plugins.

+ `$fish_function_path` is not polluted.
2015-01-08 02:21:51 +09:00
Jorge Bucaran
dbab48f307 Add new import command for plugins, simplifiying intial configuration setup in oh-my-fish.fish. Fix incorrect wilcard expansion bug in _prepend_tree and other typos in comments. 2015-01-07 14:00:00 +09:00
Bruno
852da7e94d Merge pull request #290 from bpinto/prepend_path
Function _prepend_path allowing multiple paths to be specified at once
2015-01-06 18:16:54 -02:00
Bruno Pinto
521b7bb7da prepend_path allowing multiple paths to be specified at once 2015-01-06 17:55:50 -02:00
Bruno
25dbd9ad48 Merge pull request #207 from charlesbjohnson/fix_rbenv_plugin_shell_command
Fix issue with rbenv plugin where some rbenv commands fail
2015-01-01 20:52:33 -02: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
Bruno Pinto
a4e58aafb7 Merge pull request #275 from jacobono/gvm-update-and-cask-plugin 2014-12-30 16:38:39 -02: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
fcb62327c7 Merge pull request #281 from taktoa/master 2014-12-30 16:26:15 -02:00