diff --git a/IPython/history.py b/IPython/history.py index 00af2ab..0a14f4a 100644 --- a/IPython/history.py +++ b/IPython/history.py @@ -31,9 +31,12 @@ def magic_history(self, parameter_s = ''): instead of the user-entered version: '%cd /' will be seen as '_ip.magic("%cd /")' instead of '%cd /'. - -g: treat the arg as a pattern to grep for in (full) history + -g: treat the arg as a pattern to grep for in (full) history. + This includes the "shadow history" (almost all commands ever written). + Use '%hist -g *' to show full shadow history (may be very long). + In shadow history, every index nuwber starts with 0. - -s: show "shadow" history + """ ip = self.api diff --git a/doc/ChangeLog b/doc/ChangeLog index 28fece7..4f1c759 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -4,6 +4,11 @@ autocall rewrite indication, becausesometimes unicode fails to print properly (and you get ' - - - '). Use plain uncoloured ---> for unicode. + + * shadow history. Usable through "%hist -g " and "%rep 0123". + + . pickleshare 'hash' commands (hget, hset, hcompress, + hdict) for efficient shadow history storage. 2007-06-13 Ville Vainio