From c19af918861b10b8cf2ecf490b2d001dedfaad33 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Fri, 5 Mar 2021 15:28:06 -0700 Subject: [PATCH] updated env to import external zsh plugins from local env override --- env/env | 4 ++++ vim/options.vim | 1 + zsh/config | 2 -- zsh/rc | 5 +++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/env/env b/env/env index 5271e37..4634ccc 100755 --- a/env/env +++ b/env/env @@ -1,3 +1,4 @@ +# script path references DOTWRYN="$HOME/.wryn" SCHOOL_PATH="$HOME/School" RD_PATH="$HOME/RentDynamics" @@ -15,3 +16,6 @@ MEDIA_ENGINE='canberra-gtk-play -f' WEBBROWSER='google-chrome-stable' TMUX_DEFAULT_SESSION_NAME='main' + +# external plugins +EXTERNAL_PLUGIN_LIST=() diff --git a/vim/options.vim b/vim/options.vim index 0b85943..00f67ac 100644 --- a/vim/options.vim +++ b/vim/options.vim @@ -11,6 +11,7 @@ set timeoutlen=200 set showmatch " -- emit 'beep' when no matching symbol, set matchtime=0 " -- but don't jump to it. +set tabpagemax=20 set t_ZH= t_ZR= " italic start / end characters diff --git a/zsh/config b/zsh/config index 3c22fdf..532900b 100644 --- a/zsh/config +++ b/zsh/config @@ -18,8 +18,6 @@ zstyle ':completion:*' max-errors 1 zstyle ':completion:*' menu select; bindkey -M menuselect '^M' .accept-line; # don't require 'return' to select menu item -zstyle :compinstall filename "$HOME/.zshrc" - autoload -Uz compinit compinit diff --git a/zsh/rc b/zsh/rc index d1f61af..0de3a8e 100644 --- a/zsh/rc +++ b/zsh/rc @@ -36,6 +36,11 @@ SET_PREFERRED_EDITOR() { } SET_PREFERRED_EDITOR +# --- load external plugins ---------------------------------------- + +for PLUGIN in $EXTERNAL_PLUGIN_LIST; do + [ -f "$PLUGIN" ] && source "$PLUGIN" +done # --- welcome message ---------------------------------------------- CUSTOM_WELCOME="$HOME/.config/wryn/custom-welcome"