1
0
Fork 0

Remove oh-my-zsh-ism (?)

This commit is contained in:
tastytea 2022-03-23 03:42:35 +01:00
parent 240abe71e1
commit 16c62ade60
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 2 additions and 5 deletions

View File

@ -62,16 +62,13 @@ async_init
############################# History ##########################################
export HISTSIZE=50000 # In memory.
export SAVEHIST=10000 # On disk.
# Stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
HIST_STAMPS="yyyy-mm-dd"
# Write command to history file after it is finished, with time and duration.
setopt NO_SHARE_HISTORY EXTENDED_HISTORY INC_APPEND_HISTORY_TIME
# setopt EXTENDED_HISTORY SHARE_HISTORY
# setopt NO_INC_APPEND_HISTORY_TIME EXTENDED_HISTORY SHARE_HISTORY
setopt HIST_EXPIRE_DUPS_FIRST HIST_IGNORE_DUPS
setopt HIST_IGNORE_SPACE HIST_REDUCE_BLANKS HIST_VERIFY
# Import new commands from the history file.
# Import new commands from the history file
function _precmd_history
{
fc -R