summaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2021-09-04 18:42:50 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2021-09-04 18:42:50 -0500
commit0168d3a1168234a3b9f3f5b8fc004e7ee5051487 (patch)
treec31e55ebd4f9ba5beb449186ba0db234b200fb8a /zsh/zshrc
parent7f11af310e3b02719c8ed6c729e9be8b059530a3 (diff)
parent09872874611c94e606ec402316165530c41c7209 (diff)
downloaddotconfig-0168d3a1168234a3b9f3f5b8fc004e7ee5051487.tar.xz
dotconfig-0168d3a1168234a3b9f3f5b8fc004e7ee5051487.zip
utf-8 and merge fix for openbsdx230
Diffstat (limited to 'zsh/zshrc')
-rw-r--r--zsh/zshrc11
1 files changed, 4 insertions, 7 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index b320821..ec04280 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -19,8 +19,7 @@ setopt SHARE_HISTORY # Share history between zsh sessions
setopt HIST_REDUCE_BLANKS
setopt HIST_IGNORE_DUPS # Successive duplicate entries ignored
setopt HIST_IGNORE_SPACE # Entries with leading space ignored
-# This seems to reduce overall disk writes
-#unsetopt EXTENDED_HISTORY # Save only the command, not any superfluous info
+setopt EXTENDED_HISTORY # Save superfluous info with command to reduce disk writes
# Change cursor shape for different vi modes (Cred: LARBS)
function zle-keymap-select () {
@@ -39,8 +38,6 @@ echo -n '\e[5 q' # Use beam shape cursor on startup
preexec() { echo -n '\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 2>/dev/null
-[ "$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
+for plugin in $ZPLUGINS; do
+ source $plugin
+done