From b9866a4418fb1d64ab0386162e31c046c9c5b968 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Thu, 5 Aug 2021 13:17:02 -0500 Subject: fixcefd zshrfc aiwht the fuckning compoiuter s --- zsh/zshrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'zsh') diff --git a/zsh/zshrc b/zsh/zshrc index cce5d37..370d6f5 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -29,5 +29,6 @@ preexec() { echo -ne '\e[5 q' ;} # Use beam shape cursor for each new prompt # Load zsh plugins; should be last #source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source /usr/share/zsh/plugins/zsh-vim-mode/zsh-vim-mode.plugin.zsh -source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null -source /home/timmy/.config/broot/launcher/bash/br +[ "$COMPUTER" = "desktop" ] && source /usr/share/zsh/site-functions/zsh-syntax-highlighting.zsh 2>/dev/null || \ +[ "$COMPUTER" = "laptop" ] && source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null +#source /home/timmy/.config/broot/launcher/bash/br -- cgit v1.2.3