From dcd591a6ee550cf48a36027ffb947c846681ff9d Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Tue, 05 Oct 2021 02:42:46 +0000
Subject: [PATCH] wslg removes the need for setting display

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