Commit Graph

31 Commits (944b59d2c2b7eaed5a0be9498166edfa0ee64d33)

Author SHA1 Message Date
Jorge Bucaran 125f8d43c8 Subsequent tests should run if one test fails. 10 years ago
Jorge Bucaran 25d45b29c5 Make sure to exit with 0 of 1 when reloading the framework 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 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 Pinto 521b7bb7da prepend_path allowing multiple paths to be specified at once 10 years ago
Bruno Pinto b861a5cee1 deprecating _append_path and create _prepend_path 10 years ago
Bruno Pinto df2cf7e33e removing no longer used function 10 years ago
Bruno Pinto 5ed6752201 extracting _append_path function 11 years ago
Bruno Pinto 605028a7fc using 2 spaces instead of 4 spaces 11 years ago
Wolfgang Richter 9f70b8ec12 oh-my-fish.fish: remove unneeded code 11 years ago
Wolfgang Richter dd117c8275 oh-my-fish.fish: add helper function to test directory
- existence of dir
- and also if it is already in the path list
11 years ago
Wolfgang Richter 34967e61e9 oh-my-fish.fish: remove debug code thanks @GlitchMr 11 years ago
Wolfgang Richter 513f19c8a1 oh-my-fish.fish: ensure duplicates aren't prepended to fish_function_path 11 years ago
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.
11 years ago
Bruno Pinto 03833fda7b fish has renamed . to source 11 years ago
Bruno Pinto 1f08915e14 function to restore original fish colors 11 years ago
Bruno Pinto b7b5ce3cc4 loading theme either from custom or from oh-my-fish dir 11 years ago
ilkosta 9c3d1506ff enable custom themes in $fish_custom/themes dir 11 years ago
Bruno Pinto 05b4207a66 automatically loaded files should not have the suffix '.fish' otherwise fish thinks they are functions 12 years ago
Bruno Pinto 4a250d796b lower case variable names for non-exported variables 12 years ago
Bruno Pinto e0785f8949 loading all .load.fish files even inside plugins 12 years ago
Bruno Pinto ed76c2e5c5 plugin and completion load cleanup 12 years ago
Adriano Bonat e2ff0e06d4 replaced hard-coded path. 12 years ago
Bruno Pinto 3485cbec67 loading plugins completions 12 years ago
Bruno Pinto 33ec29ec41 loading custom plugins and sourcing all files that are not plugins 12 years ago
Bruno Pinto 5e2c99a14d Typo 12 years ago
Bruno Pinto 82cd7867b0 user functions have the highest priority 12 years ago
Bruno Pinto 3c10941014 Loading all functions 12 years ago
Bruno Pinto 1e031c9621 increasing loaded plugins priority 12 years ago
Bruno Pinto a7d94393f6 adding plugin and theme to fish function path 12 years ago