1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 14:20:08 +00:00
ohmyzsh/lib
Nick Glenn 8908e6d720
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>
2024-06-13 09:26:17 +02:00
..
tests fix(cli): fix edge cases in omz plugin disable command (#12401) 2024-05-08 22:20:42 +02:00
async_prompt.zsh fix(async): fix crash on zsh < 5.0.6 (#12358) 2024-04-22 10:59:34 +02:00
bzr.zsh Modification to the frisk theme to work with the BZR lib 2013-11-06 20:10:59 -02:00
cli.zsh fix(cli): fix edge cases in omz plugin disable command (#12401) 2024-05-08 22:20:42 +02:00
clipboard.zsh fix(clipboard): remove clippaste additional newline on wayland (#12140) 2023-12-31 11:17:37 +01:00
compfix.zsh style: remove trailing whitespace (#12303) 2024-03-26 09:55:16 +01:00
completion.zsh style(completion): remove extra space (#12206) 2024-02-08 15:41:34 +01:00
correction.zsh fix(correction)!: remove aliases for non standard commands 2023-02-15 09:23:04 +01:00
diagnostics.zsh style: remove trailing whitespace (#12303) 2024-03-26 09:55:16 +01:00
directories.zsh feat(init)!: allow turning off aliases for libs and plugins (#11550) 2023-04-03 23:14:36 +02:00
functions.zsh fix(lib): patch omz_urlencode to not encode UTF-8 chars in Termux (#12076) 2023-12-06 08:09:45 +01:00
git.zsh fix(lib/git): turn off async prompt for zsh < 5.0.6 2024-06-12 10:32:30 +02:00
grep.zsh chore(lib): update deprecated grep aliases (#11161) 2022-10-03 17:59:49 +02:00
history.zsh fix(history): fix logic error in prompt for history -c (#12500) 2024-06-13 09:26:17 +02:00
key-bindings.zsh fix(key-bindings): bind default arrow keys to beginning-search 2024-02-12 09:48:38 +01:00
misc.zsh fix(misc): only set PAGER if less or more are available (#12060) 2023-11-27 11:07:51 +01:00
nvm.zsh fix(lib): quote % in nvm_prompt_info 2022-01-03 13:50:50 +01:00
prompt_info_functions.zsh fix(prompt): quote ruby prompt (#12195) 2024-02-03 22:50:44 +01:00
spectrum.zsh feat(spectrum): add FX[dim] format (#12172) 2024-01-21 05:25:50 +01:00
termsupport.zsh feat(termsupport): support alacritty* TERM (#12392) 2024-05-02 15:11:18 +02:00
theme-and-appearance.zsh fix(theme-and-appearance): make bsd ls to be default 2023-05-09 12:05:15 +02:00
vcs_info.zsh fix(lib): fix return code after expected non-zero exit code (#11524) 2023-02-24 17:27:23 +01:00