Commit Graph

8 Commits (ab05441000531d0bc9aaea23b8d4db59b2828a31)

Author SHA1 Message Date
Kevin F. Konrad ee1921b4c4 Add missing quotation marks in autoload (#711) 5 years ago
Stephen M. Coakley d951cb1a15 Normalize redirection syntax (#459) 8 years ago
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.
8 years ago
Derek Stavis bf44c45cd5 autoload: Use set -e to remove path from destination 9 years ago
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.
9 years ago
Bruno Pinto 30ab05445d Add `require` function to support plugin dep
In order to support dependency between plugins a function called
`require` has been added.
9 years ago
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.
9 years ago
Jorge Bucaran 2693a2fd18 %%% United States of the Fish → Wahoo + OMF %%% 9 years ago