Don't run same check twice, no array declared yet

This commit is contained in:
Alex D. 2019-02-09 17:12:26 +01:00
parent 2010e6d3a2
commit 68fce791c1
1 changed files with 0 additions and 16 deletions

View File

@ -6,22 +6,6 @@ case $(tty) in
startx || echo "Mom, cancel my meetings! X got screwed by the package manager again."; # Start X server automatically if tty1
;;
*)
case $(uname -rv) in
*ARCH*)
plugins+=(
archlinux
)
;;
*Ubuntu*)
plugins+=(
ubuntu
)
;;
*)
echo "Unknown distribution, loading general plugins only"
;;
esac
# Variables
source $ZSHCONF/vars.zsh # Enviroment variables
source $ZSHCONF/themevars.zsh # Theme variables