Kurtis Rader
ee1d310651
Implement history search --reverse
( #4375 )
...
* Implement `history search --reverse`
It should be possible to have `history search` output ordered oldest to
newest like nearly every other shell including bash, ksh, zsh, and csh.
We can't make this the default because too many people expect the
current behavior. This simply makes it possible for people to define
their own abbreviations or functions that provide behavior they are
likely used to if they are transitioning to fish from another shell.
This also fixes a bug in the `history` function with respect to how it
handles the `-n` / `--max` flag.
Fixes #4354
* Fix comment for format_history_record()
2017-09-14 15:44:17 -07:00
..
2017-06-29 21:00:08 -07:00
2017-08-03 22:02:06 -07:00
2017-04-11 13:45:53 -07:00
2017-04-11 13:45:53 -07:00
2017-04-11 13:45:53 -07:00
2017-04-13 23:14:36 -07:00
2017-04-13 23:14:36 -07:00
2017-04-13 23:14:36 -07:00
2017-06-09 13:35:00 -07:00
2017-04-13 23:14:36 -07:00
2017-04-13 23:14:36 -07:00
2017-02-20 20:29:43 -08:00
2017-08-03 21:25:20 -07:00
2017-08-03 15:44:58 -07:00
2017-08-03 21:25:20 -07:00
2017-08-04 11:02:11 -07:00
2017-08-04 11:02:11 -07:00
2017-08-04 11:02:11 -07:00
2017-09-08 21:14:26 -07:00
2017-09-08 21:14:26 -07:00
2017-08-04 11:39:43 -07:00
2017-04-22 20:33:56 -07:00
2017-04-17 21:23:03 -07:00
2014-09-18 15:46:17 -07:00
2017-03-20 16:42:53 +01:00
2017-04-22 20:33:56 -07:00
2017-04-22 20:33:56 -07:00
2016-01-10 17:25:22 -08:00
2016-01-10 17:25:22 -08:00
2016-01-10 17:25:22 -08:00
2017-08-04 11:41:51 -07:00
2017-08-04 11:41:51 -07:00
2017-08-04 11:41:51 -07:00
2017-08-14 18:18:09 -07:00
2017-01-24 15:24:13 -08:00
2017-01-24 15:24:13 -08:00
2017-08-03 21:37:02 -07:00
2017-08-03 21:37:02 -07:00
2017-08-03 21:37:02 -07:00
2017-08-04 12:01:16 -07:00
2017-08-04 12:01:16 -07:00
2017-08-04 12:01:16 -07:00
2016-12-19 17:44:54 -08:00
2016-06-26 21:51:00 -07:00
2016-06-30 20:49:56 -07:00
2017-08-03 22:02:06 -07:00
2017-08-03 22:02:06 -07:00
2017-08-04 17:08:25 -07:00
2017-01-20 21:48:41 -08:00
2017-08-03 14:35:06 -07:00
2017-01-20 21:48:41 -08:00
2014-09-30 17:06:56 -07:00
2015-05-02 18:22:20 -07:00
2014-09-21 21:03:44 -07:00
2014-09-21 21:03:44 -07:00
2017-06-30 20:24:55 -07:00
2017-06-30 17:13:02 -07:00
2017-06-30 17:13:02 -07:00
2017-06-30 17:13:02 -07:00
2017-05-20 21:03:31 -07:00
2014-07-29 14:42:03 -07:00
2012-06-15 16:24:05 -07:00
2012-06-15 16:24:05 -07:00
2017-07-20 13:07:30 -07:00
2017-09-14 15:44:17 -07:00
2016-07-20 21:18:48 -07:00
2017-08-25 20:28:45 -05:00
2017-07-16 15:13:39 -07:00
2016-09-09 19:23:06 -07:00
2014-12-23 15:46:47 -08:00
2016-04-10 18:40:11 -07:00
2016-04-10 18:40:11 -07:00
2017-07-25 12:44:26 -07:00
2016-06-26 21:51:00 -07:00
2017-01-31 22:10:53 -08:00
2017-06-29 21:00:08 -07:00
2017-06-16 21:01:56 -07:00
2017-06-16 21:01:56 -07:00
2017-04-29 19:20:03 +08:00
2016-04-08 21:05:46 -07:00
2016-04-08 21:05:46 -07:00
2016-04-08 21:05:46 -07:00
2016-06-15 22:10:11 -07:00
2017-01-31 22:10:53 -08:00
2017-01-31 22:10:53 -08:00
2017-08-23 20:41:45 -07:00
2017-08-23 20:41:45 -07:00
2017-08-23 20:41:45 -07:00
2017-02-20 18:43:13 -08:00
2017-02-20 17:58:08 -08:00
2017-02-20 17:58:08 -08:00
2017-07-17 14:33:51 -07:00
2017-07-17 14:33:51 -07:00
2017-07-17 14:33:51 -07:00
2016-12-20 16:46:33 -08:00
2016-12-20 16:46:33 -08:00
2016-12-20 16:46:33 -08:00
2017-08-14 18:18:09 -07:00
2017-04-11 19:06:48 -07:00
2014-09-07 23:56:59 -07:00
2017-04-11 19:06:48 -07:00
2017-08-18 16:24:30 -07:00
2017-08-14 18:18:09 -07:00
2016-10-04 20:19:44 -07:00
2016-10-04 20:19:44 -07:00
2016-10-04 20:19:44 -07:00
2017-08-19 21:39:21 -07:00
2017-08-19 21:39:21 -07:00
2017-08-19 21:39:21 -07:00
2017-04-05 15:31:13 -07:00
2017-04-05 15:31:13 -07:00
2017-04-05 15:31:13 -07:00
2017-01-24 15:24:13 -08:00
2017-01-24 15:24:13 -08:00
2017-01-24 15:24:13 -08:00
2017-08-17 10:22:30 -07:00
2017-08-17 10:22:30 -07:00
2017-06-23 22:14:21 -07:00
2017-08-04 12:51:48 -07:00
2017-08-04 12:51:48 -07:00
2017-08-04 12:51:48 -07:00
2017-09-08 21:14:26 -07:00
2017-09-08 21:14:26 -07:00
2017-09-08 21:14:26 -07:00
2005-09-20 23:31:55 +10:00
2010-09-18 10:18:26 +08:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2017-08-18 16:24:30 -07:00
2017-07-20 18:25:18 -07:00
2017-08-04 13:36:51 -07:00
2017-08-04 13:36:51 -07:00
2017-08-04 13:36:51 -07:00
2017-04-11 20:00:29 -07:00
2016-02-25 17:16:36 -08:00
2016-02-25 17:16:36 -08:00
2016-11-17 14:53:50 -08:00
2016-12-21 15:46:46 -08:00
2016-12-21 15:46:46 -08:00
2012-06-24 13:43:44 -07:00
2014-07-13 19:11:29 -07:00
2013-12-12 18:18:07 -08:00
2017-08-04 17:23:24 -07:00
2017-08-04 17:23:24 -07:00
2017-08-04 17:23:24 -07:00
2017-04-11 20:00:29 -07:00
2017-07-17 14:33:51 -07:00
2017-07-17 14:33:51 -07:00
2017-08-03 21:25:20 -07:00
2017-08-03 20:56:14 -07:00
2017-08-16 13:39:48 -07:00
2017-07-25 12:44:26 -07:00
2017-07-03 16:58:14 -07:00
2014-09-30 17:06:56 -07:00
2017-03-28 16:28:24 -07:00
2017-03-28 16:28:24 -07:00
2017-03-28 16:28:24 -07:00
2017-04-11 20:00:29 -07:00
2016-07-10 20:02:39 -07:00
2016-07-10 20:02:39 -07:00