From 71c4cbed3d30265b5ef56dd6ddd812139bd3fbb8 Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Sun, 21 Jul 2024 20:52:21 +0200 Subject: zshrc: autosuggestions and syntax-highlighting plugins. --- zshrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zshrc b/zshrc index fdf2213..f6e2c1a 100644 --- a/zshrc +++ b/zshrc @@ -20,6 +20,16 @@ alias cscope='cscope -R' alias ltr='ls -ltr --color' +if [ -f '/usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh' ]; then + source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh +fi + +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 + + + function aurclone () { if [ -z "${1}" ]; then echo "Usage: aurclone PKGNAME" -- cgit v1.2.3-70-g09d2