From d7a3c56269db8e2066412da2d7b3808e531b480c Mon Sep 17 00:00:00 2001 From: cbreton Date: Thu, 10 Oct 2019 09:14:24 +0200 Subject: Rename some dotfile and add a binding for search in history --- dotfiles/zsh/05-history.zsh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 dotfiles/zsh/05-history.zsh (limited to 'dotfiles/zsh/05-history.zsh') diff --git a/dotfiles/zsh/05-history.zsh b/dotfiles/zsh/05-history.zsh new file mode 100755 index 0000000..eec299f --- /dev/null +++ b/dotfiles/zsh/05-history.zsh @@ -0,0 +1,24 @@ +# ██ +# ░██ +# ██████ ██████░██ +# ░░░░██ ██░░░░ ░██████ +# ██ ░░█████ ░██░░░██ +# ██ ░░░░░██░██ ░██ +# ██████ ██████ ░██ ░██ +# ░░░░░░ ░░░░░░ ░░ ░░ +# +# ▓▓▓▓▓▓▓▓▓▓ +# ░▓ author ▓ xero +# ░▓ code ▓ http://code.xero.nu/dotfiles +# ░▓ mirror ▓ http://git.io/.files +# ░▓▓▓▓▓▓▓▓▓▓ +# ░░░░░░░░░░ +# +#█▓▒░ history +HISTFILE=~/.zhistory +setopt APPEND_HISTORY +HISTSIZE=1200 +SAVEHIST=1000 +setopt HIST_EXPIRE_DUPS_FIRST +setopt EXTENDED_HISTORY +setopt SHARE_HISTORY -- cgit v1.2.1