added check for plugin scripts abs filepath

This commit is contained in:
venus
2026-03-11 22:37:58 -05:00
parent 977ca94059
commit f114789dd7

View File

@@ -73,11 +73,12 @@ bindkey -s '^[[1;5A' "!!^M"
# autosuggestions # autosuggestions
# requires zsh-autosuggestions # requires zsh-autosuggestions
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh if [ -f "/usr/share/zsh/plugins " ]; then
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
# syntax highlighting # syntax highlighting
# requires zsh-syntax-highlighting package # requires zsh-syntax-highlighting package
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi
#setup oh-my-posh shell #setup oh-my-posh shell
if [ $TERM = "xterm-kitty" ] || [ $NVIM ]; then if [ $TERM = "xterm-kitty" ] || [ $NVIM ]; then