Don't run same check twice, no array declared yet
This commit is contained in:
parent
2010e6d3a2
commit
68fce791c1
16
load.zsh
16
load.zsh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue