From 77bcf98c5641412f640de937294ab94b0b0522ad Mon Sep 17 00:00:00 2001 From: Joel Grunbaum <joelgrun@gmail.com> Date: Tue, 05 Oct 2021 02:45:37 +0000 Subject: [PATCH] Merge branch 'master' of https://github.com/Chizi123/dotfiles --- zsh/.zshrc | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 816c466..2c16fc9 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -43,9 +43,10 @@ compinit # Syntax highlighing -if [[ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]]; then - source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -fi +[ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ] && source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + +# Auto-suggestions +[ -f /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ] && source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh # Git prompt autoload -Uz vcs_info -- Gitblit v1.9.3