fixed plugins loading when not installed bug

This commit is contained in:
venus
2026-06-26 14:12:52 -05:00
parent 57c436f9b7
commit f17e3d05ef
5 changed files with 285 additions and 160 deletions

View File

@@ -71,7 +71,7 @@ bindkey -s '^[[1;5A' "!!^M"
# autosuggestions
# requires zsh-autosuggestions
if [ -n "/usr/share/zsh/plugins " ]; then
if [ -d "/usr/share/zsh/plugins " ]; then
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
# syntax highlighting
# requires zsh-syntax-highlighting package