summaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zshrc')
-rw-r--r--zsh/zshrc5
1 files changed, 3 insertions, 2 deletions
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