-
-
Notifications
You must be signed in to change notification settings - Fork 90
fix(zsh): use history command to include recent entries #379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The same thing is true for bash too, but its |
Thanks for the improvement, much appreciated 🙏🏻 I want to change the preview pane default behavior with the stdin channel though before merging this so that it's disabled by default if no |
Done. Merging this 🎉 |
alexpasmantier
approved these changes
Mar 17, 2025
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
Mar 24, 2025
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [alexpasmantier/television](https://github.com/alexpasmantier/television) | minor | `0.10.7` -> `0.11.4` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>alexpasmantier/television (alexpasmantier/television)</summary> ### [`v0.11.4`](https://github.com/alexpasmantier/television/blob/HEAD/CHANGELOG.md#0114---2025-03-23) [Compare Source](alexpasmantier/television@0.11.3...0.11.4) ##### 🚜 Refactor - [8e17ef6](alexpasmantier/television@8e17ef6) *(uncategorized)* Nicer results alignment to improve discoverability of matched patterns by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​435](alexpasmantier/television#435) ##### ⚙️ Miscellaneous Tasks - [b81e0df](alexpasmantier/television@b81e0df) *(changelog)* Update changelog (auto) by [@​github-actions](https://github.com/github-actions)\[bot] in [#​433](alexpasmantier/television#433) - [5f8b240](alexpasmantier/television@5f8b240) *(uncategorized)* Bump to 0.11.4 by [@​alexpasmantier](https://github.com/alexpasmantier) **Full Changelog**: alexpasmantier/television@0.11.3...0.11.4 ### [`v0.11.3`](https://github.com/alexpasmantier/television/blob/HEAD/CHANGELOG.md#0113---2025-03-21) [Compare Source](alexpasmantier/television@0.11.2...0.11.3) ##### 🐛 Bug Fixes - [c573503](alexpasmantier/television@c573503) *(config)* Fix shell integration keybindings not overwriting defaults by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​431](alexpasmantier/television#431) ##### ⚙️ Miscellaneous Tasks - [5752402](alexpasmantier/television@5752402) *(changelog)* Update changelog (auto) by [@​github-actions](https://github.com/github-actions)\[bot] in [#​428](alexpasmantier/television#428) - [f8bd6c2](alexpasmantier/television@f8bd6c2) *(x86)* Add statically linked musl build for x86\_64 by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​429](alexpasmantier/television#429) - [dae6a88](alexpasmantier/television@dae6a88) *(uncategorized)* Bump to 0.11.3 by [@​alexpasmantier](https://github.com/alexpasmantier) **Full Changelog**: alexpasmantier/television@0.11.2...0.11.3 ### [`v0.11.2`](https://github.com/alexpasmantier/television/blob/HEAD/CHANGELOG.md#0112---2025-03-21) [Compare Source](alexpasmantier/television@0.11.1...0.11.2) ##### 🐛 Bug Fixes - [05e3ba3](alexpasmantier/television@05e3ba3) *(ci)* Fix aarch64 debian builds by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​426](alexpasmantier/television#426) - [ea6deef](alexpasmantier/television@ea6deef) *(ci)* More tweaking to the deb releases configuration by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​424](alexpasmantier/television#424) - [2d74a34](alexpasmantier/television@2d74a34) *(ui)* Show preview toggle hint conditionally by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​425](alexpasmantier/television#425) ##### ⚙️ Miscellaneous Tasks - [8ad4a99](alexpasmantier/television@8ad4a99) *(changelog)* Update changelog (auto) by [@​github-actions](https://github.com/github-actions)\[bot] in [#​423](alexpasmantier/television#423) - [918dc66](alexpasmantier/television@918dc66) *(uncategorized)* Bump to 0.11.2 by [@​alexpasmantier](https://github.com/alexpasmantier) **Full Changelog**: alexpasmantier/television@0.11.1...0.11.2 ### [`v0.11.1`](https://github.com/alexpasmantier/television/blob/HEAD/CHANGELOG.md#0111---2025-03-20) [Compare Source](alexpasmantier/television@0.11.0...0.11.1) ##### 🐛 Bug Fixes - [4e900d9](alexpasmantier/television@4e900d9) *(ci)* Use `fancy-regex` when compiling on arm64 instead of `oniguruma` by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​422](alexpasmantier/television#422) ##### ⚙️ Miscellaneous Tasks - [7069421](alexpasmantier/television@7069421) *(changelog)* Update changelog (auto) by [@​github-actions](https://github.com/github-actions)\[bot] in [#​420](alexpasmantier/television#420) - [b48127b](alexpasmantier/television@b48127b) *(uncategorized)* Bump to 0.11.1 by [@​alexpasmantier](https://github.com/alexpasmantier) **Full Changelog**: alexpasmantier/television@0.11.0...0.11.1 ### [`v0.11.0`](https://github.com/alexpasmantier/television/blob/HEAD/CHANGELOG.md#0110---2025-03-20) [Compare Source](alexpasmantier/television@0.10.10...0.11.0) ##### ⛰️ Features - [3222037](alexpasmantier/television@3222037) *(cli)* Allow passing custom keybindings through the cli by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​409](alexpasmantier/television#409) - [47ea5a2](alexpasmantier/television@47ea5a2) *(cli)* Allow passing builtin previewers through the cli (e.g. `--preview ':files:'`) by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​403](alexpasmantier/television#403) - [8eb6ada](alexpasmantier/television@8eb6ada) *(config)* Allow remapping input builtin keybindings (ctrl-e, ctrl-a, etc.) by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​411](alexpasmantier/television#411) - [d09f670](alexpasmantier/television@d09f670) *(shell)* Add fallback channel to the config for smart autocomplete by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​413](alexpasmantier/television#413) ##### 🐛 Bug Fixes - [731bc7e](alexpasmantier/television@731bc7e) *(config)* Make user shell integration trigger configuration override defaults entirely by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​417](alexpasmantier/television#417) - [05bd64a](alexpasmantier/television@05bd64a) *(scheduling)* Don't block the main thread when no actions are available to process by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​416](alexpasmantier/television#416) ##### 🚜 Refactor - [7a85728](alexpasmantier/television@7a85728) *(config)* Simplify keybindings configuration syntax by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​404](alexpasmantier/television#404) \[**breaking**] - [fc2f6cd](alexpasmantier/television@fc2f6cd) *(preview)* Improve overall previewer scheduling logic by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​415](alexpasmantier/television#415) - [3a5b5ec](alexpasmantier/television@3a5b5ec) *(startup)* Improve overall startup time and remove first frames artifacts by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​408](alexpasmantier/television#408) ##### ⚙️ Miscellaneous Tasks - [5ee8912](alexpasmantier/television@5ee8912) *(changelog)* Update changelog (auto) by [@​github-actions](https://github.com/github-actions)\[bot] in [#​405](alexpasmantier/television#405) - [1e4c34f](alexpasmantier/television@1e4c34f) *(changelog)* Update changelog (auto) by [@​github-actions](https://github.com/github-actions)\[bot] in [#​402](alexpasmantier/television#402) - [409d951](alexpasmantier/television@409d951) *(uncategorized)* Bump to 0.11.0 by [@​alexpasmantier](https://github.com/alexpasmantier) - [97314d6](alexpasmantier/television@97314d6) *(uncategorized)* Add support for arm64 deb releases by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​412](alexpasmantier/television#412) **Full Changelog**: alexpasmantier/television@0.10.10...0.11.0 ### [`v0.10.10`](https://github.com/alexpasmantier/television/blob/HEAD/CHANGELOG.md#01010---2025-03-18) [Compare Source](alexpasmantier/television@0.10.9...0.10.10) ##### 🐛 Bug Fixes - [55705c0](alexpasmantier/television@55705c0) *(zsh)* Use history command to include recent entries by [@​keturn](https://github.com/keturn) in [#​379](alexpasmantier/television#379) ##### 🚜 Refactor - [ee89b36](alexpasmantier/television@ee89b36) *(stdin)* Disable preview by default and enable when passing `--preview` by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​394](alexpasmantier/television#394) ##### 📚 Documentation - [4f35cc6](alexpasmantier/television@4f35cc6) *(cli)* Improve cli documentation by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​395](alexpasmantier/television#395) - [0edf224](alexpasmantier/television@0edf224) *(man)* Add man pages for tv by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​397](alexpasmantier/television#397) ##### ⚙️ Miscellaneous Tasks - [60ea4a7](alexpasmantier/television@60ea4a7) *(changelog)* Update changelog (auto) by [@​github-actions](https://github.com/github-actions)\[bot] in [#​391](alexpasmantier/television#391) - [961ebbb](alexpasmantier/television@961ebbb) *(uncategorized)* Bump to 0.10.10 by [@​alexpasmantier](https://github.com/alexpasmantier) ##### New Contributors - [@​keturn](https://github.com/keturn) made their first contribution in [#​379](alexpasmantier/television#379) **Full Changelog**: alexpasmantier/television@0.10.9...0.10.10 ### [`v0.10.9`](https://github.com/alexpasmantier/television/blob/HEAD/CHANGELOG.md#0109---2025-03-17) [Compare Source](alexpasmantier/television@0.10.8...0.10.9) ##### ⚙️ Miscellaneous Tasks - [f954e81](alexpasmantier/television@f954e81) *(deb)* Fix cargo deb output directory error by [@​alexpasmantier](https://github.com/alexpasmantier) - [f397dd5](alexpasmantier/television@f397dd5) *(uncategorized)* Bump to 0.10.9 by [@​alexpasmantier](https://github.com/alexpasmantier) **Full Changelog**: alexpasmantier/television@0.10.8...0.10.9 ### [`v0.10.8`](https://github.com/alexpasmantier/television/blob/HEAD/CHANGELOG.md#0108---2025-03-16) [Compare Source](alexpasmantier/television@0.10.7...0.10.8) ##### 🐛 Bug Fixes - [8df4a7a](alexpasmantier/television@8df4a7a) *(changelog)* Fix broken links in CHANGELOG.md by [@​murlakatamenka](https://github.com/murlakatamenka) in [#​377](alexpasmantier/television#377) ##### 🧪 Testing - [64b2f73](alexpasmantier/television@64b2f73) *(uncategorized)* More tests for cli, app, and main by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​375](alexpasmantier/television#375) ##### ⚙️ Miscellaneous Tasks - [d601eb2](alexpasmantier/television@d601eb2) *(changelog)* Update changelog (auto) by [@​github-actions](https://github.com/github-actions)\[bot] - [ed28da3](alexpasmantier/television@ed28da3) *(changelog)* Update changelog (auto) by [@​github-actions](https://github.com/github-actions)\[bot] in [#​371](alexpasmantier/television#371) - [e26bd59](alexpasmantier/television@e26bd59) *(deb)* Temporarily disable old compatibility builds by [@​alexpasmantier](https://github.com/alexpasmantier) - [fcf4b35](alexpasmantier/television@fcf4b35) *(uncategorized)* Replace manual convco check and git hook by a dedicated ci step by [@​alexpasmantier](https://github.com/alexpasmantier) in [#​376](alexpasmantier/television#376) ##### New Contributors - [@​bpairet](https://github.com/bpairet) made their first contribution in [#​383](alexpasmantier/television#383) - [@​murlakatamenka](https://github.com/murlakatamenka) made their first contribution in [#​377](alexpasmantier/television#377) **Full Changelog**: alexpasmantier/television@0.10.7...0.10.8 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDAuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIxMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem: The
_tv_shell_history
command does not include the most recent entries in that shell's history.It uses the
zsh-history
channel, but that's flawed because only the current shell knows its most recent history; it has not yet been written to$HISTFILE
.Instead, take input from the shell's history command.