HN user

zzenon

108 karma
Posts3
Comments8
View on HN

I don't think xab9 is denying that your wife made you a better person and see things in a different light. That's awesome and you should be proud of her. But your comments keep showing a form of dependancy that can quickly spiral out of control and turn against you (personally I have been there). A psychologist can be a tremendous help in preventing such situations.

Like xab9's comment, please do not take offence in my comment either.

Unfortunately I don't remember exactly how I did it at past but I'll try to help:

On my previous machine, with zsh, I could define my .zsh_history to be created per dir. That way I could see the history per dir.

The downside is multiple .zsh_history files per dir plus no universal .zsh_history (the default)

EDIT: I think I have found how I have done it. I have this currently on my .zsrch HISTFILE=~/.zhistory

removing the ~, will force zsh to create a .zhistory file on your current dir.

Hope this helps.

"So why would this be interesting for HN readers?"

To show what you can do with AngularJS directives and that combining it with D3.js it can be quite powerful (even without source code). Anybody who worked with D3.js, should know how much boilerplate code needs to be written to have a visualisation. By abstracting that code in directives, it allows users to use out-of-the-box d3.js graphs. Someone could go ever further to implement an "interface" to customize these graphs through angularjs.

To anyone who's interested: I replied to another comment with a tutorial blog of how to create d3.js directives