got rid of zsh stuff I don't use; i3lock now uses active colorscheme; fixed color7 on halloween theme

This commit is contained in:
2022-08-23 17:44:56 -06:00
parent 2571cf4fe5
commit caf69459e2
8 changed files with 83 additions and 113 deletions

19
zsh/rc
View File

@ -1,12 +1,13 @@
#!/bin/zsh
source "$HOME/.config/wryn/env.zsh"
# ---------------------------------------------------------------------
#####################################################################
INTERNAL_PLUGINS=(
"$DOTWRYN/zsh/config" # must load first
$(find "$DOTWRYN/zsh" -maxdepth 1 -type f \
! -name 'rc' \
! -name 'config' \
)
$(find "$DOTWRYN/zsh" -mindepth 1 -maxdepth 1 -type f \
| grep -v '/rc$' \
| grep -v '/config$' \
| grep -v '/\.[^/]\+$' \
)
)
SET_PREFERRED_EDITOR() {
@ -29,13 +30,13 @@ SET_PREFERRED_EDITOR() {
&& break
done
export EDITOR="$AVAILABLE_EDITOR";
export VISUAL="$AVAILABLE_EDITOR";
export EDITOR="$AVAILABLE_EDITOR"
export VISUAL="$AVAILABLE_EDITOR"
}
# ---------------------------------------------------------------------
#####################################################################
for p in $INTERNAL_PLUGINS; do source $p; done
for p in $EXTERNAL_PLUGINS; do [ -f $p ] && source $p; done
SET_PREFERRED_EDITOR
WELCOME
# ---------------------------------------------------------------------
#####################################################################
true