Kurtis Rader 9d2b53450a limit size of cd history to 25 directories
The existing implementation grows the $dirprev array without bounds. Besides
causing what would appear to be a memory leak it also makes the nextd and
prevd commands more expensive than they need to be. It also makes it harder to
create a useful "menu" cd command.

In addition to implementing a reasonable limit on the size of the $dirprev
array I've reformatted the code using fish_indent.

Update the documentation to include mentions of the $dirprev and $dirnext
variables as well as the limit on how much directory history is kept.

Fixes 2836
2016-03-23 13:36:00 -07:00
..
2010-09-18 10:18:26 +08:00
2013-07-18 21:26:32 +05:30
2014-01-20 21:28:54 +04:00
2015-09-09 21:52:18 +02:00
2015-09-23 13:28:32 +02:00
2016-02-03 23:47:46 +01:00
2015-01-17 15:36:30 -08:00
2016-02-10 20:33:43 +01:00
2016-02-12 23:53:17 +01:00
2016-03-02 14:26:10 +01:00
2015-08-08 11:22:44 -07:00
2015-11-19 12:04:21 +01:00
2015-12-17 15:25:13 +01:00
2015-11-14 13:15:30 +01:00
2015-08-30 18:42:35 +02:00
2016-02-03 23:23:04 +01:00
2016-02-28 12:12:13 +01:00
2015-09-09 20:55:04 +02:00