Show More
@@ -31,9 +31,12 b" def magic_history(self, parameter_s = ''):" | |||||
31 | instead of the user-entered version: '%cd /' will be seen as |
|
31 | instead of the user-entered version: '%cd /' will be seen as | |
32 | '_ip.magic("%cd /")' instead of '%cd /'. |
|
32 | '_ip.magic("%cd /")' instead of '%cd /'. | |
33 |
|
33 | |||
34 | -g: treat the arg as a pattern to grep for in (full) history |
|
34 | -g: treat the arg as a pattern to grep for in (full) history. | |
|
35 | This includes the "shadow history" (almost all commands ever written). | |||
|
36 | Use '%hist -g *' to show full shadow history (may be very long). | |||
|
37 | In shadow history, every index nuwber starts with 0. | |||
35 |
|
38 | |||
36 | -s: show "shadow" history |
|
39 | ||
37 | """ |
|
40 | """ | |
38 |
|
41 | |||
39 | ip = self.api |
|
42 | ip = self.api |
@@ -4,6 +4,11 b'' | |||||
4 | autocall rewrite indication, becausesometimes unicode fails to print |
|
4 | autocall rewrite indication, becausesometimes unicode fails to print | |
5 | properly (and you get ' - - - '). Use plain uncoloured ---> for |
|
5 | properly (and you get ' - - - '). Use plain uncoloured ---> for | |
6 | unicode. |
|
6 | unicode. | |
|
7 | ||||
|
8 | * shadow history. Usable through "%hist -g <pat>" and "%rep 0123". | |||
|
9 | ||||
|
10 | . pickleshare 'hash' commands (hget, hset, hcompress, | |||
|
11 | hdict) for efficient shadow history storage. | |||
7 |
|
12 | |||
8 | 2007-06-13 Ville Vainio <vivainio@gmail.com> |
|
13 | 2007-06-13 Ville Vainio <vivainio@gmail.com> | |
9 |
|
14 |
General Comments 0
You need to be logged in to leave comments.
Login now