| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-05-22 | fix(history): handle HIST_STAMPS with whitespace in timestamp format (#13099) | Kirill Fedorov | |
| Co-authored-by: Kirill Fedorov <kfedorov@ibsys.ru> | |||
| 2024-06-18 | chore(history): show input in confirmation prompt | Marc Cornellà | |
| Fixes https://github.com/ohmyzsh/ohmyzsh/issues/12472#issuecomment-2175868971 | |||
| 2024-06-18 | fix(history): fix confirmation prompt to allow bypass | Marc Cornellà | |
| See https://github.com/ohmyzsh/ohmyzsh/issues/12472#issuecomment-2171461005 | |||
| 2024-06-13 | fix(history): fix logic error in prompt for `history -c` (#12500) | Nick Glenn | |
| 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-12 | fix(history): add warning before deleting command history in `history -c` ↵ | Marc Cornellà | |
| (#12472) | |||
| 2024-04-18 | fix(history): add `t` option to history wrapper (#12365) | Martin Hans | |
| The `t` option takes a strftime format specification as argument. This fixes cases in which $HIST_STAMPS is set to a value other than `mm/dd/yyyy|dd.mm.yyyy|yyyy-mm-dd`. | |||
| 2024-04-18 | fix(history): fix `history -c` (#12362) | Marc Cornellà | |
| Fixes #12362 | |||
| 2024-04-16 | fix(history): fix edge cases introduced in #12341 (#12357) | Martin Hans | |
| 2024-04-09 | fix(history): revert to old behavior when no args passed (#12341) | MoAlkhateeb | |
| * Fixed a bug in *omz_history* where it would automatically create a file when run with the -p flag * Reverted old history behaviour while fixing parsing bug | |||
| 2024-04-09 | fix(history)!: fix arg passing to `fc` for `history` command (#12338) | MoAlkhateeb | |
| BREAKING CHANGE: we have fixed a bug in the `history` wrapper for OMZ which means that running just history will now not show all the history since the 1st command, but only recent ones. To get the previous behavior, you can run `history 1` to get all the command history, or other commands such as `history -30` to get the last 30 commands. | |||
| 2020-11-09 | Revert "lib: remove share_history" | Marc Cornellà | |
| This reverts commit 23760228908d14a4644718869d5ebfb7b0dde6a7. Fixes #9430 | |||
| 2020-10-27 | lib: delete zsh session history list | Marc Cornellà | |
| NOTE: it still lives somewhere in the current zsh process. Run `fc -P` to restore it. | |||
| 2020-10-10 | lib: remove share_history | Marc Cornellà | |
| Related: #2537, #9324 | |||
| 2020-06-03 | lib: don't override bigger HISTSIZE and SAVEHIST values (#8993) | Marco Trevisan | |
| oh-my-zsh Changes the HISTSIZE and SAVEHIST values to fixed sizes, however if a bigger value is set in ~/.zshrc, it will override it, potentially causing the user history to be deleted. So, only set these values if no other is set and if it is lower than the default ones. | |||
| 2020-05-21 | core: remove inc_append_history option (#8048) | Benoit GALATI | |
| 2020-05-20 | Revert "core: enable hist_reduce_blanks" | Marc Cornellà | |
| This reverts commit cbd6fbe7a7c3ef260f497704092dc43f2e953c3f. Fixes #8949 | |||
| 2020-05-16 | core: enable hist_reduce_blanks | Marc Cornellà | |
| Fixes #8722 | |||
| 2019-04-09 | lib: fix issues with nounset and parameters used before defined (#7433) | David Remy | |
| 2018-09-15 | lib: fix history wrapper when passing numbers | Marc Cornellà | |
| If a number is passed without explicitly passing `-l`, it will now behave as if using the history builtin, instead of throwing an error. | |||
| 2018-07-13 | Add support for custom timestamp format in history (#6770) | Cristian Consonni | |
| 2018-04-22 | Increment HISTSIZE to fix hist_expire_dups_first | Marc Cornellà | |
| This fixes the old behavior which made it so all duplicates would be deleted if the command history filled up with unique events. > You should be sure to set the value of HISTSIZE to a larger number > than SAVEHIST in order to give you some room for the duplicated > events, otherwise this option will behave just like HIST_IGNORE_ALL_DUPS > once the history fills up with unique events. | |||
| 2018-04-22 | Remove duplicate option append_history | Marc Cornellà | |
| The option inc_append_history already has the same effect. | |||
| 2018-04-22 | Use zparseopts to get passed arguments | Marc Cornellà | |
| 2018-04-22 | Allow overriding -l flag in history | Marc Cornellà | |
| 2018-04-22 | Ensure builtin fc is used (see #3001) | Marc Cornellà | |
| 2018-04-22 | Organize history.zsh file and improve comments | Marc Cornellà | |
| 2018-04-22 | Simplify `if' into oneliner, allow spaces in HISTFILE | Marc Cornellà | |
| 2018-04-22 | Change history alias into a function | Marc Cornellà | |
| This commit changes the history alias into a function which puts the passed arguments before `-l 1`. It also provides a temporary workaround to the lack of a `history -c` command in zsh. For more information see issues 739 and 789. | |||
| 2015-02-10 | Refactors history alias and moves it. | LFDM | |
| More compact case statement instead of the ugly if elif... else statement. Moves it to history.zsh | |||
| 2014-12-15 | Revert PR #3359 as this is breaking stuff for many folks. Need to rethink ↵ | Robby Russell | |
| how we handle system defaults differently on this | |||
| 2014-11-30 | Existing code indents with spaces, not tabs, conform. | Joe Block | |
| 2014-11-30 | Don't clobber HISTSIZE or SAVEHIST if they're already set | Joe Block | |
| 2014-03-22 | Merge pull request #750 from blueyed/history-drop-default-append-history | Robby Russell | |
| `setopt append_history` is not necessary. | |||
| 2013-03-15 | allow setting a custom HISTFILE before oh-my-zsh is loaded | Flavius Aspra | |
| 2011-12-16 | `setopt append_history` is not necessary. | Daniel Hahler | |
| Especially given the inc_append_history option, it is not necessary to set the (default) append_history option. | |||
| 2011-12-03 | Removed duplicate setting and sorted the remaining | Göran Gustafsson | |
| 2010-06-05 | Ignore commands that start with a space. | James Rowe | |
| This is useful when you want to use a dangerous command, as it won't be available with history searching. | |||
| 2010-05-08 | share history with your zsh's on the same host | Mike Hostetler | |
| 2009-09-23 | merge upstream | James Cox | |
| 2009-09-23 | Bumping up history to 10k commands | Robby Russell | |
| 2009-09-23 | Moving all zsh config options into a lib/ subdirectory to make way for some ↵ | Robby Russell | |
| upcoming changes to directory structure and configuration options | |||
