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