fzf integration

This commit is contained in:
andrzej 2024-10-13 16:53:12 +02:00
parent 2ad68fed9c
commit 56ec3a5f9d
1 changed files with 15 additions and 2 deletions

View File

@ -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