Commit Graph

5 Commits

Author SHA1 Message Date
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
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
Jorge Bucaran
7b0a7ef76f Add -P --preview flag to help debug/test command. 2014-12-23 15:32:32 -02:00
Jorge Bucaran
a51dc2d7f5 Add _prepend_tree command. Traverse a dependency tree and add it to a path. 2014-12-23 15:32:32 -02:00