Commit Graph

8 Commits

Author SHA1 Message Date
Kevin F. Konrad
ee1921b4c4 Add missing quotation marks in autoload (#711) 2019-07-22 22:21:53 -07:00
Stephen M. Coakley
d951cb1a15 Normalize redirection syntax (#459) 2016-12-17 20:26:46 -06:00
Derek Willian Stavis
2c4471a78c autoload: refactor for conformance and performance (#262)
Refactor autoload: Split the big function into two smaller ones,
doing only option parsing at main function.

The algorithm is also rewritten, now in two steps for both path
inclusion an exclusion functions: 1) use auxiliary lists to store
valid function and completion paths, 2) bulk insert or remove just
once in the variable.

Now also respects path insertion policy, keeping user function
path always in front of other paths, thus allowing precedence of
user functions.
2016-06-01 01:14:30 -03:00
Derek Stavis
bf44c45cd5 autoload: Use set -e to remove path from destination 2015-11-01 22:43:52 -02:00
Derek Stavis
ebd7192cd1 Implement autoload -e to remove autoload path
Address the use case of autoload path removal, which allows themes
and packages definitions to be unloaded from running fish session.
2015-10-04 15:58:38 -03:00
Bruno Pinto
30ab05445d Add require function to support plugin dep
In order to support dependency between plugins a function called
`require` has been added.
2015-10-02 21:35:06 +01:00
Bruno Pinto
8aa6bf7ee2 Remove unnecessary code
This was actually trying to load PATHs that do not exist under $OMF_CONFIG
directory and sourcing files that did not exist.
2015-09-05 19:20:19 +01:00
Jorge Bucaran
2693a2fd18 %%% United States of the Fish → Wahoo + OMF %%% 2015-08-27 00:20:13 +09:00