Skip to content
Snippets Groups Projects
  1. Feb 29, 2016
    • Derek Stavis's avatar
      init: rewrite init process · 7e08d4ac
      Derek Stavis authored
      Now use pure globbing to generate 100% valid function and
      completion paths, effectively splitting the init process in two
      steps, one which paths are added, and other when initialization
      is done (sourcing init).
      
      Package initialization code is done in a new function called
      `initialize`, which takes care of the dependencies, ensuring
      proper `init.fish` call order and handling compatibility.
      
      This initialization code introduces a new interface for
      `init.fish` hook, which deprecates the previously used event
      model. The new interface injects three variables into `init.fish`:
      path, package and bundle. This variables can be used by the
      package to autoload paths, use bundled files, etc.
      
      Also supports key bindings by sourcing
      $OMF_CONFIG/key_bindings.fish and also key_bindings.fish in
      packages (plugins and themes) root directories. This is done
      when fish_user_key_bindings is called.
      7e08d4ac
  2. Jan 21, 2016
  3. Jan 20, 2016
  4. Jan 16, 2016
  5. Dec 31, 2015
  6. Nov 18, 2015
  7. Nov 03, 2015
  8. Nov 02, 2015
  9. Oct 15, 2015
  10. Oct 05, 2015
  11. Oct 04, 2015
  12. Oct 03, 2015
    • Derek Stavis's avatar
      Save history before replacing shell process · 8b8a7c8d
      Derek Stavis authored
      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.
      8b8a7c8d
    • Bruno Pinto's avatar
      Don't overwrite function on test environment · 319c8a05
      Bruno Pinto authored
      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.
      319c8a05
    • Bruno Pinto's avatar
      Add `require` function to support plugin dep · 30ab0544
      Bruno Pinto authored
      In order to support dependency between plugins a function called
      `require` has been added.
      30ab0544
  13. Sep 15, 2015
  14. Sep 06, 2015
    • Bruno Pinto's avatar
      Remove unnecessary code · 8aa6bf7e
      Bruno Pinto authored
      This was actually trying to load PATHs that do not exist under $OMF_CONFIG
      directory and sourcing files that did not exist.
      8aa6bf7e
  15. Sep 04, 2015
  16. Aug 27, 2015
  17. Aug 26, 2015