Commit Graph

5 Commits (1e0f55a7278138e9807b49168ec542f96e5c1648)

Author SHA1 Message Date
Jorge Bucaran 4875576761 Do not add test/spec files to function path via skip glob in `import`. 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