diff options
author | A Farzat <a@farzat.xyz> | 2024-04-23 03:22:41 +0900 |
---|---|---|
committer | A Farzat <a@farzat.xyz> | 2024-10-16 00:48:19 +0900 |
commit | 5285cf4cb07f288b1e82a5324f9a733234b37100 (patch) | |
tree | 7dfc37ec2761b2f9876bf900d84ddbeb4562ab77 | |
parent | 64bf3f8bed57c82a106591f293c7aa03252f90cf (diff) | |
download | zsh-5285cf4cb07f288b1e82a5324f9a733234b37100.tar.gz zsh-5285cf4cb07f288b1e82a5324f9a733234b37100.zip |
Set history options
-rw-r--r-- | halfway/options.zsh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/halfway/options.zsh b/halfway/options.zsh new file mode 100644 index 0000000..9de8d4d --- /dev/null +++ b/halfway/options.zsh @@ -0,0 +1,6 @@ +setopt extended_history # Record timestamp of command in HISTFILE. +setopt hist_expire_dups_first # Delete duplicates first when HISTFILE size exceeds HISTSIZE. +setopt hist_ignore_dups # Ignore duplicated commands history list. +setopt hist_ignore_space # Ignore commands that start with space. +setopt hist_verify # Show command with history expansion to user before running it. +setopt share_history # Share command history data. |