From 5285cf4cb07f288b1e82a5324f9a733234b37100 Mon Sep 17 00:00:00 2001 From: A Farzat Date: Tue, 23 Apr 2024 03:22:41 +0900 Subject: Set history options --- halfway/options.zsh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 halfway/options.zsh (limited to 'halfway/options.zsh') 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. -- cgit v1.2.3-70-g09d2