diff options
| author | Nick Glenn <78454343+Sargates@users.noreply.github.com> | 2024-06-13 02:26:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-13 09:26:17 +0200 |
| commit | 8908e6d7207223d876b9a74f0be0f0ebb01b361f (patch) | |
| tree | f657ffe68cc22690569c0ae4d410447a991ac76a /plugins | |
| parent | 6c021fd432aae13ef594342f9b3739ccaca4fcdc (diff) | |
| download | zsh-8908e6d7207223d876b9a74f0be0f0ebb01b361f.tar.gz zsh-8908e6d7207223d876b9a74f0be0f0ebb01b361f.tar.bz2 zsh-8908e6d7207223d876b9a74f0be0f0ebb01b361f.zip | |
fix(history): fix logic error in prompt for `history -c` (#12500)
Logic error in `history -c` when prompting for confirmation caused history
to be deleted when typing anything but explicitly `n`, `N`, or sending `\n`.
New logic prevents deletion by pressing wrong key and only deletes
history when sending `y` or `Y`.
Co-authored-by: Sargates <nicholas.g.glenn@gmail.com>
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions
