Show More
@@ -0,0 +1,18 b'' | |||||
|
1 | History Range Glob feature | |||
|
2 | ========================== | |||
|
3 | ||||
|
4 | Previously, when using ``%history`` users could specify either | |||
|
5 | a range of sessions and lines, for example: | |||
|
6 | ||||
|
7 | ``~8/1-~6/5`` see history from the first line of 8 sessions ago, | |||
|
8 | to the fifth line of 6 sessions ago. | |||
|
9 | ||||
|
10 | Or users could specify ``-g <pattern>`` to glob ALL history for | |||
|
11 | the specified pattern. | |||
|
12 | ||||
|
13 | However users could **\ *not*\ ** specify both. | |||
|
14 | If a user did specify both a range, and a glob pattern, | |||
|
15 | then the glob pattern would be used *but the range would be ignored*. | |||
|
16 | ||||
|
17 | With this enhancment, if a user specifies both a range and a glob pattern, | |||
|
18 | the glob pattern will be applied to the specified range of history. |
General Comments 0
You need to be logged in to leave comments.
Login now