From 564708e50570b4aa5465ca9810c0ece5448de865 Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Sun, 8 Sep 2024 21:55:53 +0200 Subject: [PATCH] some zshrc stuff --- .zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) 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"