1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-20 10:51:13 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
Indrajit Raychaudhuri
742c1ea26f history: use external mv command for HISTFILE migration
This will make sure the actual external command `mv` is used instead of
wrapper function.
2021-05-05 12:21:42 -05:00
Indrajit Raychaudhuri
509c5ca80f history: Move HISTFILE path to more conventional one
Change default `HISTFILE` path from `~/.zhistory` to more conventional
`~/.zsh_history`. This aligns better with Debian variants, macOS and
Oh My Zsh.

This would provide an easier onboarding experience to users coming to
Prezto from standard (framework free) zsh or from Oh My Zsh.

For existing Prezto users, we attempt to automatically rename old
`HISTFILE` to new one iff the old one exists and the new one doesn't.
However, if both old and new `HISTFILE` exist and the old one is more
recent, we just alert the user about what changed with a suggested way
to accommodate the change.
2021-05-02 03:35:12 -05:00
Shane O'Grady
43214f1aed history: Permit use of previously set HISTFILE
Honor the use of the HISTFILE environment variable, if it's already set.
2019-09-10 08:56:51 -07:00
Yutian Li
4abbc55721 remove mutually exclusive option 2019-01-07 21:03:12 -08:00
Indrajit Raychaudhuri
6f603df7a6 general: Miscellaneous documentation updates
- Add missing documentation for options and environment variables
- Rearrange definition and documentation of 'Options', 'Variables'
  and 'Aliases' in a consistent order
2018-10-12 12:04:49 -05:00
Colin Hebert
0f7e454977 [Fix #268] Get entire history for history-stat
The 'history' command is the same as 'fc -l', using a '.' as the first
parameter will get the history from the first command starting with a '.'.
Instead a '0' should be used, meaning that the history is taken from the very
first entry in the history.
2012-09-06 23:45:44 -04:00
Sorin Ionescu
8cdf06e386 [#255] Use $ZDOTDIR or $HOME 2012-09-03 16:51:32 -04:00
Sorin Ionescu
9a52ecb21b Increase heading readability 2012-08-04 14:48:32 -04:00
Sorin Ionescu
e35d6b984a Do not remove superfluous blanks from events
Recording superflous blanks is useful when indenting multiline commands.
2012-06-10 20:06:53 -04:00
Sorin Ionescu
b2b90c22f8 Improve diction in documentation 2012-06-02 17:17:12 -04:00
Sorin Ionescu
399b2f529d Edit spelling in history comments 2012-04-15 14:21:51 -04:00
Sorin Ionescu
b47b845b13 Move history-stat from utility into history 2012-04-09 17:39:09 -04:00
Sorin Ionescu
4f06785949 [#23] Convert history into a module 2012-04-05 13:39:42 -04:00