diff --git a/.zshrc b/.zshrc index b4ead2d..0f870f3 100644 --- a/.zshrc +++ b/.zshrc @@ -30,11 +30,18 @@ export MANPAGER="bat -l man -p" # ZSH percent fix export PROMPT_EOL_MARK="" +HISTFILE="$XDG_CACHE_HOME/zsh_history" +HISTSIZE=10000 +SAVEHIST=10000 +setopt APPEND_HISTORY # FZF export FZF_DEFAULT_COMMAND="fd --type file --color=always" export FZF_DEFAULT_OPTS="--ansi" +# FZF history +source <(fzf --zsh) + # Aliases alias vim="nvim" alias please='sudo ' @@ -58,4 +65,5 @@ alias df="duf" alias du="dust" alias nom="npm" alias code="codium" +alias lg="lazygit"