mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-16 11:36:16 +08:00
The addhistory hook previously had two bugs when inc_append_history or share_history was not set: 1. Commands were only saved to one history file (HISTFILE or per-dir) depending on when fc -AI was called, resulting in lost history. 2. fc -p was called unconditionally after every command, corrupting the zsh history stack even in global mode. This caused the per-dir hook to push a new history frame on every command, breaking the global history state. Fix: always write both history files via fc -AI before any mode check, and only call fc -p (to push into per-directory history) when actually in directory mode. Signed-off-by: god032396-del <god032396@gmail.com>
38 lines
1.6 KiB
YAML
38 lines
1.6 KiB
YAML
name: Feature request
|
|
description: Suggest a feature for Oh My Zsh
|
|
labels: ["Feature"]
|
|
body:
|
|
- type: markdown
|
|
attributes:
|
|
value: |
|
|
## Self Check
|
|
- Look for similar features in existing [GitHub Issues](https://github.com/ohmyzsh/ohmyzsh/issues?q=is%3Aissue) (open or closed).
|
|
- type: input
|
|
attributes:
|
|
label: If the feature request is for a plugin or theme, specify it here.
|
|
description: The name of the plugin or theme that you would like us to improve.
|
|
placeholder: e.g. Git plugin, Agnoster theme
|
|
- type: textarea
|
|
attributes:
|
|
label: If the feature solves a problem you have, specify it here.
|
|
description: A description of what the problem is.
|
|
placeholder: Ex. I'm always frustrated when...
|
|
- type: textarea
|
|
attributes:
|
|
label: Describe the proposed feature.
|
|
description: A description of what you want to happen. Be as specific as possible.
|
|
validations:
|
|
required: true
|
|
- type: textarea
|
|
attributes:
|
|
label: Describe alternatives you've considered
|
|
description: A description of any alternative solutions or features you've considered. This can also include other plugins or themes.
|
|
- type: textarea
|
|
attributes:
|
|
label: Additional context
|
|
description: Add any other context, screenshots or Discord conversations about the feature request here. Also if you have any PRs related to this issue that are already open that you would like us to look at.
|
|
- type: textarea
|
|
attributes:
|
|
label: Related Issues
|
|
description: Is there any open or closed issues that is related to this feature request? If so please link them below!
|