Jorge Bucaran
912315ba69
Do not add test/spec files to function path in _prepend_tree.
10 years ago
Bruno Pinto
081f3f5b25
allow --to-contain to receive an array, and check each item individually
10 years ago
Bruno Pinto
bce3fff175
--to-be-false and --to-be-true expectations
10 years ago
Bruno Pinto
9d889f509b
Merge pull request #310 from bucaran/stop-test-continue-suite
10 years ago
Jorge Bucaran
125f8d43c8
Subsequent tests should run if one test fails.
10 years ago
Bruno
5f92c0446c
Merge pull request #309 from bucaran/reload-and-exit-ok
...
Make sure to exit with 0 of 1 when reloading the framework
10 years ago
Jorge Bucaran
b56017e3f2
Add reload framework test case to oh-my-fish.spec
10 years ago
Jorge Bucaran
25d45b29c5
Make sure to exit with 0 of 1 when reloading the framework
10 years ago
Bruno
ed87414b51
Merge pull request #306 from bpinto/run_plugins_tests_on_travis
...
run all tests, including plugins tests, on travis
10 years ago
Bruno Pinto
4d1e85fbe0
run all tests, including plugins tests, on travis
10 years ago
Bruno
4fba87434c
Merge pull request #304 from bpinto/travis-badge
...
Adding travis badge
10 years ago
Jorge Bucaran
09e6da27e2
Fix boostrap/script to oh-my-fish.spec.fish
10 years ago
Bruno Pinto
a32cd3fdd9
README cosmetics
10 years ago
Bruno Pinto
beda636406
travis badge
10 years ago
Bruno Pinto
e7afb310a4
removing bucaran fork
10 years ago
Bruno
51a4e4decf
Merge pull request #303 from bucaran/fish-spec
...
❯❯❯ Complete overhaul of brand new Oh-My-Fish `fish-spec` test framework.
10 years ago
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.
10 years ago
Bruno
1f9a51c3f6
Merge pull request #302 from bucaran/travis
...
Add travis support via .travis.yml and bash bootstrap script.
10 years ago
Jorge Bucaran
0aa8af477a
Add travis support via .travis.yml and bash bootstrap script
10 years ago
Bruno Pinto
bb467f75ac
remove double slash
10 years ago
Bruno
143cc10c42
Merge pull request #300 from bucaran/improve-install
...
Improve install.fish
10 years ago
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.
10 years ago
Bruno Pinto
626deaf135
Merge pull request #294 from lvicentesanchez/master
10 years ago
Luis Angel Vicente Sanchez
49821054db
Update README.md
10 years ago
Luis Angel Vicente Sanchez
060110d859
* add README.md
10 years ago
Luis Angel Vicente Sanchez
15eef514ca
* fix git prompt.
10 years ago
Luis Angel Vicente Sanchez
edbea29aae
* add fox theme.
10 years ago
Bruno Pinto
fed8c86313
Merge pull request #298 from bucaran/master
10 years ago
Bruno Pinto
64ea3d8002
list.erase test
10 years ago
Bruno Pinto
e0bb27831d
naiive to_not_include implementation
10 years ago
Bruno Pinto
8d7ccec672
using --from syntax
10 years ago
Jorge Bucaran
235bcf783e
Rename array.delete.fish file to list.erase.fish
10 years ago
Jorge Bucaran
7368c174e7
Update oh-my-fish.fish tests for new list.erase function.
10 years ago
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.
10 years ago
Bruno Pinto
f34f114018
testing plugin load from custom folder
10 years ago
Bruno Pinto
75ba7639a9
+bucaran array.delete
10 years ago
Bruno Pinto
7c9d660f2c
tests using fish-spec
10 years ago
Bruno Pinto
13051d0168
oh-my-fish.fish tests
10 years ago
Bruno Pinto
6363714647
removing obsolete plugin sprunge
10 years ago
Bruno
30c683e6f9
Merge pull request #292 from bucaran/plugin-msg
...
Add msg plugin. The technicolor message printer.
10 years ago
Jorge Bucaran
c76ce97d03
Add ability to escape -s and -n options using a backslash.
...
Add notes in comments about escaping.
10 years ago
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
10 years ago
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\*.
10 years ago
Bruno
d88084719a
Merge pull request #291 from bucaran/feat-import
...
[feat-import] + import command, ⁑ bad wildcard expansion bugfix in _prepend_tree.
10 years ago
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/`.
10 years ago
Jorge Bucaran
1c795f0e78
Correct documentation/comments in `import`.
10 years ago
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.
10 years ago
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.
10 years ago
Bruno
852da7e94d
Merge pull request #290 from bpinto/prepend_path
...
Function _prepend_path allowing multiple paths to be specified at once
10 years ago
Bruno Pinto
521b7bb7da
prepend_path allowing multiple paths to be specified at once
10 years ago