These are chat archives for ellipsis/ellipsis

28th
Jun 2016
Zach Kelling
@zeekay
Jun 28 2016 18:20
hm
how would init script work?
err init hook
Zach Kelling
@zeekay
Jun 28 2016 19:04
singe
going for single script to source which would fire all hooks?
Gertjan Roggemans
@groggemans
Jun 28 2016 19:17
Was already looking at the option with the hook. Definitely the better option. Probably going to add an ellipsis init command so you can re-init a package, with a default behavior of calling all init hooks. This way it mimics the behavior of the ellipsis update command. (including the option to init ellipsis) The user then has to call /path_to_ellipsis/bin/ellipsis init from his zsh or bash rc file and everything gets "initialized". The ellipsis init hook would add ellipsis to the path (if not already added) and add the $ELLIPSIS_HOME/PATH/... variables to the env. The standard init hook for other packages would do nothing. But users can implement there own version that could add aliases, or add custom dirs to the path (for scripts etc) or add variables to the env, ... possibilities are endless :)
Zach Kelling
@zeekay
Jun 28 2016 19:19
nice
sounds like a nice addition :)
Gertjan Roggemans
@groggemans
Jun 28 2016 19:22
:smile:
It's also nice that users don't have to use this mechanism if they don't want to :) fully backwards compatible
Zach Kelling
@zeekay
Jun 28 2016 19:28
haha yeah no doubt