node-deja icon indicating copy to clipboard operation
node-deja copied to clipboard

Host specific directory

Open entropitor opened this issue 9 years ago • 5 comments

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.

entropitor avatar Mar 28 '15 17:03 entropitor

Hrm... that seems possible and useful.

Also operative system-specific would be useful too.

mcantelon avatar Apr 05 '15 21:04 mcantelon

@mcantelon operative system == operating system?

And how exactly would you implement this? And is there maybe something I can do?

entropitor avatar Apr 07 '15 16:04 entropitor

Haha, exactly... For operating system-specific bash init etc.

mcantelon avatar Apr 07 '15 18:04 mcantelon

Any progress on this?

entropitor avatar May 18 '15 13:05 entropitor

@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?

entropitor avatar Jun 19 '15 08:06 entropitor