[IPython-user] %history -g not showing full history

Ville M. Vainio vivainio@gmail....
Wed May 6 12:31:29 CDT 2009

On Wed, May 6, 2009 at 6:47 PM,  <reckoner@gmail.com> wrote:

> In[11]: %hist -g
> it does not show me everything in the shadow history as there should be 1000
> entries. There are clearly one thousand entries in the history file,
> however.
> Why is this?

Shadow history never stores the same command twice. If you have
invoked "cd .." 82 times, it only appears once in shadow history. So
the count is not reliable indication of whether you have the command
in history or not.

Ville M. Vainio

More information about the IPython-user mailing list