diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2021-09-04 18:38:25 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2021-09-04 18:38:25 -0500 |
commit | 09872874611c94e606ec402316165530c41c7209 (patch) | |
tree | cd6e68146fda1af0f89ea396ffd4581bdca93438 /zsh/zshrc | |
parent | 968230670ee95d64f6140644aba99e380010a999 (diff) | |
download | dotconfig-09872874611c94e606ec402316165530c41c7209.tar.xz dotconfig-09872874611c94e606ec402316165530c41c7209.zip |
changed system for loading zsh plugins
Diffstat (limited to 'zsh/zshrc')
-rw-r--r-- | zsh/zshrc | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -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 |