~tardypad/dotfiles

ref: 6c6da645bdf106f6cb251579c4eb42cbb0a19e8d dotfiles/files/configs/zsh/config.d/history.zsh -rw-r--r-- 289 bytes
6c6da645 — Damien Tardy-Panis Remove unused _operands function in _time-tracker completion 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
# use history and define history file location
export HISTFILE="${HOME}/.zsh_history"
export HISTSIZE=10000
export SAVEHIST="${HISTSIZE}"

# store start and duration of commands
setopt extended_history

# append command to file immediately after it finishes
setopt inc_append_history_time