added history components to zshrc
This commit is contained in:
parent
aaef6a861d
commit
1bbef005e5
1 changed files with 6 additions and 0 deletions
|
|
@ -21,6 +21,12 @@ export LESS_TERMCAP_us=$'\e[1;4;33m'
|
||||||
|
|
||||||
# Formats history command with dates/times
|
# Formats history command with dates/times
|
||||||
export HISTTIMEFORMAT="%d/%m/%y %T "
|
export HISTTIMEFORMAT="%d/%m/%y %T "
|
||||||
|
# Sets default for history command
|
||||||
|
export HISTSIZE=2000
|
||||||
|
export HISTFILESIZE=100000
|
||||||
|
export HISTFILE="$HOME/.zsh_history"
|
||||||
|
export SAVEHIST=$HISTSIZE
|
||||||
|
setopt hist_ignore_all_dups
|
||||||
|
|
||||||
# Configure thefuck
|
# Configure thefuck
|
||||||
eval "$(thefuck --alias)"
|
eval "$(thefuck --alias)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue