From 56ec3a5f9d8777341bc7257a6e1ef84936058737 Mon Sep 17 00:00:00 2001 From: andrzej Date: Sun, 13 Oct 2024 16:53:12 +0200 Subject: [PATCH] fzf integration --- zsh/.zshrc | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index a8a23ce..b7002b7 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,7 +1,11 @@ +#plugins source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + +setopt autocd + #load bash aliases if [ -f ~/.zsh_aliases ]; then . ~/.zsh_aliases @@ -24,7 +28,16 @@ fi eval "$(luarocks path --bin)" [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion +#fzf +source <(fzf --zsh) + +#starship eval "$(starship init zsh)" - - +#history file +HISTFILE=~/.zsh_history +# How many commands to store in history +HISTSIZE=10000 +SAVEHIST=10000 +# Share history in every terminal session +setopt SHARE_HISTORY