Commit Graph

14 Commits (de84c9d4fbac7933f4c923e3a5b277f8a1638595)

Author SHA1 Message Date
Derek Stavis 042657cdcf require: recursively require package dependencies 9 years ago
Bruno Pinto 5f77a5db12 Remove `basename` from core library
The features added by this function are not used anywhere.

Fix #151
9 years ago
Derek Stavis bf44c45cd5 autoload: Use set -e to remove path from destination 9 years ago
Derek Stavis ecbc9c5ed3 require: Cleanup previously sourced init functions 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 1ab8a20b8c Fix #8: Fishy plugin template 9 years ago
Derek Stavis 8b8a7c8d73 Save history before replacing shell process
Fixes an issue with history between shell reloads via refresh function call.
As `exec` replaces the current process in a non-gently fashion, the
persistent history could be out of sync with the in-memory history.

Calling `history --save` before `exec` should force the shell to persist the
history before replacing the current process.
9 years ago
Bruno Pinto 319c8a05cd Don't overwrite function on test environment
Instead of overwriting functions that use `exec fish` on test
environment, skip this call if the variable `CI` has been defined on the
running shell.
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
Derek Willian Stavis 2fbd1535f7 lib/README: fix swapped lines
Swap `prompt_segments` and `refresh` description.
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
Bruno Pinto ae0e4388b6 Back to oh-my-fish organization 9 years ago
Jorge Bucaran bf52f5d57a fix basename polyfill 9 years ago
Jorge Bucaran 2693a2fd18 %%% United States of the Fish → Wahoo + OMF %%% 9 years ago