node-deja
node-deja copied to clipboard
Host specific directory
Would it be possible to have host-specific stuff?
For example if there's a directory host-mcantelon
in the repo and the hostname of that machine is mcantelon
, these files are preferred over others in the general directory and if the hostname doesn't matches, it just takes the default files.
Hrm... that seems possible and useful.
Also operative system-specific would be useful too.
@mcantelon operative system == operating system?
And how exactly would you implement this? And is there maybe something I can do?
Haha, exactly... For operating system-specific bash init etc.
Any progress on this?
@mcantelon I'm guessing, the best way to implement this, is by expanding https://github.com/mcantelon/node-deja/blob/master/lib/commands.js#L109 to have a host-specific and os-specific section, or something like that?