4
70
Fork
You've already forked pay-respects
4

add acepted suggestions to shell history on Nushell/PowerShell #37

Merged
iff merged 1 commit from kiara/pay-respects:history-nu-ps into main 2026年04月10日 13:41:06 +02:00
Contributor
Copy link

This makes these match the existing behavior for Bash, Zsh, and Fish.

closes #36.

dsisclaimer i used a coding agent in the creation of this patch.

This makes these match the existing behavior for Bash, Zsh, and Fish. closes #36. dsisclaimer i used a coding agent in the creation of this patch.
This makes these match the existing behavior for Bash, Zsh, and Fish.
Signed-off-by: cinereal <cinereal@riseup.net>
Owner
Copy link

Seems working!

Seems working!
Owner
Copy link

Didn't seem to work in nushell with retries. Probably it generated an output like:

{ "cd": "{{ cd }}", "command": "{{ command }}" }
{ "cd": "{{ cd }}", "command": "{{ command }}" }

Which is not a valid json. e23d521a4a should fix it.

Also, nushell seems to add the input command at the end of the execution? The first entry back in the history is the f and not accepted suggestion.

Didn't seem to work in nushell with retries. Probably it generated an output like: ```json { "cd": "{{ cd }}", "command": "{{ command }}" } { "cd": "{{ cd }}", "command": "{{ command }}" } ``` Which is not a valid json. e23d521a4a should fix it. Also, nushell seems to add the input command at the end of the execution? The first entry back in the history is the `f` and not accepted suggestion.
kiara deleted branch history-nu-ps 2026年04月20日 21:28:01 +02:00
Author
Contributor
Copy link

yeah, i hadn't found a way to append to nushell's reedline to get the order right when pressing up unfortunately :(

yeah, i hadn't found a way to append to nushell's reedline to get the order right when pressing up unfortunately :(
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
iff/pay-respects!37
Reference in a new issue
iff/pay-respects
No description provided.
Delete branch "kiara/pay-respects:history-nu-ps"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?