summaryrefslogtreecommitdiff
path: root/halfway/options.zsh
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2024-04-23 03:22:41 +0900
committerA Farzat <a@farzat.xyz>2024-10-16 00:48:19 +0900
commit5285cf4cb07f288b1e82a5324f9a733234b37100 (patch)
tree7dfc37ec2761b2f9876bf900d84ddbeb4562ab77 /halfway/options.zsh
parent64bf3f8bed57c82a106591f293c7aa03252f90cf (diff)
downloadzsh-5285cf4cb07f288b1e82a5324f9a733234b37100.tar.gz
zsh-5285cf4cb07f288b1e82a5324f9a733234b37100.zip
Set history options
Diffstat (limited to 'halfway/options.zsh')
-rw-r--r--halfway/options.zsh6
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.