Skip to content

2.0.0

Compare
Choose a tag to compare
@marcransome marcransome released this 08 Feb 18:46
Β· 437 commits to main since this release
c529759

πŸ§™πŸ»β€β™‚οΈ Major release with several functional and quality of life improvements:

  • Added colour to error messages 🌈
  • Added pond_load_on_create universal variable for controlling whether a pond is loaded automatically in the current shell after creation
  • Added two additional filter options to the list command: --loaded and --unloaded
  • (Breaking change) Renamed init and deinit functions to autoload and autounload to clarify their usage; existing function files will need to be migrated by updating the file suffix to _autoload.fish or _autounload.fish and function name suffix to _autoload or _autounload
  • The status command now reports global status when used without arguments and includes the number of ponds, how many are enabled or loaded, a visual representation of all ponds (colour is used to differentiate between loaded and unloaded ponds), and also an overall health check (i.e. syntax) of all .fish files present in all ponds:
● pond 2.0.0
     Health: good
      Ponds: 2 (2 enabled; 2 loaded)
     Loaded: /root/.config/fish/pond
             β”œβ”€β€’ abc
             └─‒ xyz
  • When reporting the status of one or more named ponds, the output now includes a coloured status symbol indicating whether the pond is loaded or not (a green or grey ● before the name), the pond directory path, the status of the pond (including loaded and enabled state), whether the pond contains syntactically valid functions or not, the size of the pond, the presence or absence of autoload and autounload functions, the total function count, and the size of the pond. Example:
● abc (/root/.config/fish/pond/abc)
     Status: loaded, enabled
     Health: good
   Autoload: present
 Autounload: absent
  Functions: 1
       Size: 8.0K