Skip to content

feat(shell): add directory history and foreground key-binding widgets - #55

Closed
benbenbang wants to merge 7 commits into
mainfrom
issue-45-zoxide
Closed

benbenbang wants to merge 7 commits into
mainfrom
issue-45-zoxide

Conversation

@benbenbang

Copy link
Copy Markdown
Member
  • feat(shell)!: add bounded shell-local directory history
  • test(shell): cover browser directory history across shells
  • feat(shell): add browser-history command-buffer completion helpers
  • feat(shell): add runtime zoxide interactive launcher
  • feat(shell): implement foreground configured key-binding widgets
  • test(shell): add runtime zoxide and ordered-dispatch regression tests
  • test(shell): add key binding editor regression coverage
  • feat(shell): complete foreground shell support
  • test(shell): add real Nushell Reedline PTY regressions

@benbenbang
benbenbang enabled auto-merge (rebase) September 9, 2026 23:27
Add read-only helpers for Bash/Zsh and PowerShell that cycle history from newest to oldest, then restore the original command line and cursor without consuming navigation history.

Dispatcher and Nushell integration will follow.

Refs #46
Launch zoxide interactively through the configured fzf alias using snapshotted executable paths. Add a private CLI protocol that distinguishes unavailable, empty, and cancelled outcomes without re-reading TOML.

Refs #45
Add ordered zoxide and cj behaviors that append quoted paths without changing directories. Distinguish cancellation, errors, and fallback while preserving native PowerShell streams.

Support Bash 4+ cursor versions and remove owned stale bindings during reload.

Refs #45
Refs #46
Exercise real zoxide interaction and snapshot custom programs and options.
Cover quoting, empty or missing fallbacks, cancellation, and errors.

Refs #45
Add real Bash Readline and Zsh ZLE tests for Unicode cursor placement,
literal insertion, and buffer preservation on cancellation and errors.
Ensure directory and history state remain untouched.

Cover PowerShell dispatch ordering and owned-binding reload behavior.

Refs #45
Refs #46
Add Nushell Reedline command-buffer widgets and initialize history once through the exported widget environment. Preserve terminal streams and add native PowerShell PSReadLine regression coverage.

Refs #45
Refs #46
Verify foreground terminal ownership, literal multiline paths, history cycling, and restoration of the original Unicode cursor position. Cover cancellation and error preservation, including fallback behavior.

Refs #45
Refs #46
@github-actions github-actions Bot added the enhancement New feature or request label Sep 9, 2026
@benbenbang benbenbang closed this Sep 9, 2026
auto-merge was automatically disabled September 9, 2026 23:28

Pull request was closed

@benbenbang
benbenbang deleted the issue-45-zoxide branch September 9, 2026 23:30
@benbenbang
benbenbang restored the issue-45-zoxide branch September 9, 2026 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant