summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2021-08-05 13:17:02 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2021-08-05 13:17:02 -0500
commitb9866a4418fb1d64ab0386162e31c046c9c5b968 (patch)
treef8f1dd0d0402d6a43523c40396d393c5a8530a0d /zsh
parentd7cbe3c87769e13b0cc4f9fb392b3b61e632da7b (diff)
downloaddotconfig-b9866a4418fb1d64ab0386162e31c046c9c5b968.tar.xz
dotconfig-b9866a4418fb1d64ab0386162e31c046c9c5b968.zip
fixcefd zshrfc aiwht the fuckning compoiuter s
Diffstat (limited to 'zsh')
-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