Commit Graph

5 Commits (80ed2cf0f0877f5767d2d1a62586e8e0e32b3395)

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/`.
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
Jorge Bucaran 7b0a7ef76f Add -P --preview flag to help debug/test command. 10 years ago
Jorge Bucaran a51dc2d7f5 Add _prepend_tree command. Traverse a dependency tree and add it to a path. 10 years ago