rootiest
ed62c8c100
feat(history): add support for Nth history index in substitution
...
Extends the interactive history substitution function to support an
optional third field `old/new/index`.
- Keeps default behavior of targeting the most recent command (index 1).
- Allows targeting a specific history entry by appending a number.
- Validates that the index is a positive integer before attempting retrieval.
- Safely handles cases where the requested history index does not exist.
Example: 'cat/bat/5' now replaces 'cat' with 'bat' in the 5th previous command.
2026-04-30 18:18:31 -04:00
..
2026-04-30 01:03:13 -04:00
2026-04-30 18:18:31 -04:00
2026-04-30 01:03:13 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:48:55 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-29 17:23:13 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-30 01:03:13 -04:00
2026-04-30 01:03:13 -04:00
2026-04-30 01:03:13 -04:00
2026-04-30 01:03:13 -04:00
2026-04-30 01:03:13 -04:00
2026-04-30 01:03:13 -04:00
2026-04-29 17:23:13 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 02:04:49 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-29 17:23:13 -04:00
2026-04-26 01:37:38 -04:00
2026-04-27 13:21:05 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-27 13:21:05 -04:00
2026-04-27 13:21:05 -04:00
2026-04-27 13:21:05 -04:00
2026-04-26 03:07:51 -04:00
2026-04-26 03:07:51 -04:00
2026-04-27 13:28:14 -04:00
2026-04-27 13:21:05 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 03:15:54 -04:00
2026-04-26 03:15:54 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00
2026-04-26 01:37:38 -04:00