updated env to import external zsh plugins from local env override

This commit is contained in:
Wryn Wagner 2021-03-05 15:28:06 -07:00
parent 83a7a2ee27
commit c19af91886
4 changed files with 10 additions and 2 deletions

4
env/env vendored
View File

@ -1,3 +1,4 @@
# script path references
DOTWRYN="$HOME/.wryn" DOTWRYN="$HOME/.wryn"
SCHOOL_PATH="$HOME/School" SCHOOL_PATH="$HOME/School"
RD_PATH="$HOME/RentDynamics" RD_PATH="$HOME/RentDynamics"
@ -15,3 +16,6 @@ MEDIA_ENGINE='canberra-gtk-play -f'
WEBBROWSER='google-chrome-stable' WEBBROWSER='google-chrome-stable'
TMUX_DEFAULT_SESSION_NAME='main' TMUX_DEFAULT_SESSION_NAME='main'
# external plugins
EXTERNAL_PLUGIN_LIST=()

View File

@ -11,6 +11,7 @@ set timeoutlen=200
set showmatch " -- emit 'beep' when no matching symbol, set showmatch " -- emit 'beep' when no matching symbol,
set matchtime=0 " -- but don't jump to it. set matchtime=0 " -- but don't jump to it.
set tabpagemax=20
set t_ZH= t_ZR= " italic start / end characters set t_ZH= t_ZR= " italic start / end characters

View File

@ -18,8 +18,6 @@ zstyle ':completion:*' max-errors 1
zstyle ':completion:*' menu select; zstyle ':completion:*' menu select;
bindkey -M menuselect '^M' .accept-line; # don't require 'return' to select menu item bindkey -M menuselect '^M' .accept-line; # don't require 'return' to select menu item
zstyle :compinstall filename "$HOME/.zshrc"
autoload -Uz compinit autoload -Uz compinit
compinit compinit

5
zsh/rc
View File

@ -36,6 +36,11 @@ SET_PREFERRED_EDITOR() {
} }
SET_PREFERRED_EDITOR SET_PREFERRED_EDITOR
# --- load external plugins ----------------------------------------
for PLUGIN in $EXTERNAL_PLUGIN_LIST; do
[ -f "$PLUGIN" ] && source "$PLUGIN"
done
# --- welcome message ---------------------------------------------- # --- welcome message ----------------------------------------------
CUSTOM_WELCOME="$HOME/.config/wryn/custom-welcome" CUSTOM_WELCOME="$HOME/.config/wryn/custom-welcome"