{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/56d9914b4ccefb925332256889c842a4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"56d9914b4ccefb925332256889c842a4","url":"https://api.github.com/users/antoine-levitt","login":"antoine-levitt","id":88065},"updated_at":"2011-10-30T21:20:26Z","labels":[{"name":"type-enhancement","color":"d8a9c9","url":"https://api.github.com/repos/ipython/ipython/labels/type-enhancement"}],"assignee":null,"comments":7,"closed_at":null,"url":"https://api.github.com/repos/ipython/ipython/issues/943","body":"There's a HISTIGNORE env variable in bash that makes the history ignore certain commands (a common value is to ignore ls / cd commands). Could something like this be added to IPython?\r\n\r\nI also have another reason to use such as setting: I'm working on some emacs integration code, and would like to send commands to ipython (typically: run file.py) without it cluttering the history.","html_url":"https://github.com/ipython/ipython/issues/943","number":943,"title":"HISTIGNORE for IPython","id":2088300,"created_at":"2011-10-29T20:23:01Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/56d9914b4ccefb925332256889c842a4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"56d9914b4ccefb925332256889c842a4","url":"https://api.github.com/users/antoine-levitt","login":"antoine-levitt","id":88065},"updated_at":"2011-10-30T21:20:26Z","url":"https://api.github.com/repos/ipython/ipython/issues/comments/2571605","body":"30/10/11 19:21, Thomas\n> Readline stores its own history directly from stdin, and we haven't\n> got any direct control over that. We can modify it later, but it's\n> somewhat awkward, and I think it's probably not worth doing without a\n> pretty good reason.\n\nThe multiline history thing does it. I think it's worth it to avoid\nduplicates/blanks/whatever the user wants to avoid, but I'd understand\nif you feel it's just not that worth it for most users.\n\n> Just testing in a terminal here, readline only stores consecutive\n> duplicate entries once, so if you `%run script.py` 20 times, you only\n> see it once as you press up-arrow to go through previous commands.\n\nReally? Hm. I see it appearing as many times as I entered the\ncommand. However, it appears only once after I exit and run ipython\nagain, suggesting only the readline history if affected. That's using\nthe standard conf (no qtconsole), from ipython github, readline\n5.2-9. What version are you using?","id":2571605,"created_at":"2011-10-30T21:20:26Z"}}